Code:
/dev/root on /var/hdd.log type ext4 (rw,noatime)
That is certainly unusual. Why is /dev/root mounted on /var/hdd.log? Have you tried unmounting /var/hdd.log?
As another user pointed out, that’s because of log2ram, a way not to grind my SD card by log writing. Stopping it does make such line disappear, but I still see /dev/root on /. I’m reading that’s a placeholder which gets there when initrd isn’t able to re-mount root FS.
Code:
$ grep -n 'mount | sed -n ' ./image-utils/image-backup120:ROOT_PART="$(mount | sed -n 's|^\(/dev/.*\) on / .*|\1|p')"150: resize2fs "$(mount | sed -n 's|^\(/dev/.*\) on / .*|\1|p')"221:ROOT_PART="$(mount | sed -n 's|^\(/dev/.*\) on / .*|\1|p')"
Thank you
Statistics: Posted by saaibo — Thu May 09, 2024 10:05 am