Contents
Where can I find Rootfs?
First of all, at kernel initialization time, there is an absolutely minimal filesystem registered, called “rootfs”. The code that implements this filesystem can be found in fs/ramfs/inode.
How is Proc mounted?
It is commonly mounted at /proc. Typically, it is mounted automatically by the system, but it can also be mounted manually using a command such as: mount -t proc proc /proc Most of the files in the proc filesystem are read-only, but some files are writable, allowing kernel variables to be changed.
What is Proc partitions in Linux?
The /proc/partitions file contains a table with major and minor number of partitioned devices, their number of blocks and the device name in /dev. The major number determines the device driver to be used with this device. The minor number is a unique identification of an instance of this device type.
How do I edit Proc mounts in Linux?
The only way to modify it is to mount/umount something. /proc is not a real directory with files. /proc provides a view into the kernel via file-like objects, but they are not files you can edit.
Why is there no rootfs file system present on my computer?
The root filesystem may have been mounted by the kernel, not by mount. Therefore entries for / in the /etc/mtab may be quite contrived, and not necessarily in sync with the kernel’s current list of mounts. I haven’t checked for sure, but in practice I don’t think any system that uses the old scheme will initialize mtab to show a line with rootfs.
How to differentiate from that issue not in / Proc?
There is this previous issue which lead to the failure check on not in /proc/mounts. AFAIK it’s the same symptoms, but there it was fixed by using a different applet. How do we differentiate from that issue?
What does this app say if you try to remount / system?
If I tries to run “mount -o rw,remount /system” I receive in response “‘/system’ not in /proc/mounts” The actual test command is mount -o ro,remount ‘/system’ (ro-read-only) which doesn’t change anything, but allows SD Maid to make sure mount works correctly. What does this app say if you try to remount /system?