I tried the script command a long time ago because I was curious about it.
Yet I may confirm what bsdutils āŗ Wiki āŗ ubuntuusers.de says about its usage:
The disadvantage of using script is that all special characters are also logged, so the output file is full of control characters and ANSI escape sequences
Yet:
However, the contents of the output file can be almost completely cleaned using the col program, which creates another file (cleanedfile in this example):
col -bx <typescript >cleanedfile
(translated from German).
Somehow I still find reading scriptĀ“s protocol somewhat difficult.
Ah. now I understand. I was wondering why gnome-disk-image-mounter was resident on my Lubuntu system.
I once installed the gnome-disk-utility package in order to get gnome-disks.
EvereythingĀ“s clear now.
Yes, I can confirm that.
Indeed, I have.
After doing my monthly clonezilla backups I use it for taking notes as far as the free space of my partitions are concerned, like so:
it was great for quickly assigning two partitions to a 32 GB USB-stick and formatting therm (FAT32).
This USB-stick is used as a storage device for a DVB-T2 receiver which sports the PVR functionality, i.e. for recording TV programmes.
@nevj
What is the command to find out what the loop devices are?
I have Debian 11 iso on my ventoy-usb, would not take long to install on one of my SSD drives.
ls /dev/lo* will list the loop device nodes. Just like you did in Manjaro.
lsmod | grep loop will tell you if the loop.ko module has been added to your kernel
If the loop.ko module is present in the kernel, the kernel should make the loop device nodes at boot timeā¦ just like all the other nodes in /dev
Can you run Debian 11 from the ventoy usb drive? That would be easier than an install.
We just need to find a fresh running Debian 11 ( not one upgraded from Debian 10 like mine) and see if it has the loop devices. Then I will know if mine were lost in the upgrade or if Debian 11 does not have loop devices.
Thank you Rosika,
I did it tooā¦ on a tablet would you believe. It kept disconnecting but I managed to do ls /devā¦ and got the same result as you
So the conclusion isā¦both my Debian 11 installations lost their loop device files in the process of doing a Debian 10 to Debian 11 upgrade.
It would seem the kernel module loop.ko is not in the kernel in my Debian 11 and that means the kernel cannot put the loop device files in / dev at boot time.
I do not know what tells the kernel to include various modules by default. I know the user can add a module by putting it in /etc modules, and that is an easy fix in this case.
Thanks again Rosika,
I must give distrotest a try on a proper PC.
Oh, and I looked at the script files of the upgradesā¦ no mention of loop devices anywhere? They just silently disappeared.
ThatĀ“s great. I always marvel at what technology can do nowadays.
I think I tried distrotest at one time in the past but I guess it was the first time now I used it for a dedicated purpose.
At first I thought it would cost me quite a lot of data but it turned out otherwise.
I measured data consumption with vnstat and for the duration of 16.97 mins. I just used 6.71 MB.
Granted, I didnĀ“t do much during that time period but still, I think thatĀ“s quite resonable :
IĀ“m sorry the outcome wasnĀ“t as positive as could be hoped for. Nevertheless I guess we all learned quite a bit of that.
Hmm, it seems a fresh install would be the way to go then. Good to knowā¦
IĀ“ve more than once heard experts state that the nuke-and-pave-approach (fresh/clean install) would be the safest optionā¦ Oh wellā¦
ThatĀ“s good to know. One never knows when that comes in handy.
Thanks for letting us know.
What an interesting discussion this has been.
Thanks a lot to all of you for your input.
Something interesting. Devuan is entirely different. It only has /dev/loop-control and the module loop.ko is not in the kernel. It relies on the mount statement to generate loop devices on the fly as needed, then it deletes them on reboot.
The Devuan people are rather clever. I would like to unscramble how they do it. The upgrade of Devuan from Devuan 3 to Devuan 4 did not break anything.
Regards
Neville
I tried distrotest again on the PC. Performs much better than on the tablet - the pointer is still jumpy. I think you need a bit of compute capacity and a fast internet connection for it to work really well.
6.7Mb with our connection would take about 13 secs flat out. - we only get about 4mbps which is 0.5Mbytes per sec.
Regards
Neville
YouĀ“re right. I didnĀ“t mention it before but the pointer was jumpy with me as well.
Still, I could manage it somehow for the limited time it took to achieve what we wanted.
Thanks for the info.
I canĀ“t provide any data for the mobile web-stick IĀ“m using, but as IĀ“m now on 4G things have progressed as far as speed is concerned.