site  contact  subhomenews

File /etc/fstab is now empty

December 07, 2021 — BarryK

For a very long time I have considered this file to be deprecated. The time has now come to retire that file completely. I posted about the GTK3 save dialog having inappropriate entries:

With this photo:


I asked about this on the forum:

File /etc/fstab has this:

none          /proc        proc     defaults,noatime               0 0
none /sys sysfs defaults,noatime,nouser 0 0
none /dev/pts devpts gid=2,mode=620,noatime,nouser 0 0
shmfs /dev/shm tmpfs defaults,noatime,nouser 0 0

However, these entries are not required. Those mounts are all done in the initrd, before switch_root, without reference to that file.

Nowhere else in a running EasyOS are those entries required. So, the file has now been emptied. Problem solved.

The file is still there though, so perchance one day we do actually want a mount-point to appear in the gtk save dialog, then can just put it into /etc/fstab and hey presto.    

Tags: easy