Page 1 of 1

procfs in fstab?

Posted: Fri Jan 15, 2016 11:56 am
by Snap
According to the Debian wiki:
It is not necessary to list /proc and /sys in the fstab unless some special options are needed. The boot system will always mount them.
https://wiki.debian.org/fstab

Most distros don't have proc into their default fstabs, but the BBQ and a few other Sid based distros keep mounting proc from fstab. Wondering what's the purpose. Still a good habit? ...or what are those special options if any?

Thanks in advance.

Re: procfs in fstab?

Posted: Fri Jan 15, 2016 12:53 pm
by wuxmedia
might be left over from the live spin session?

PS. Raspian also:

Code: Select all

root@raspberrypi:~# cat /etc/fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
...

Re: procfs in fstab?

Posted: Fri Jan 15, 2016 1:02 pm
by machinebacon
A leftover from old makedev days possibly. It doesn't hurt to keep the line -- or to remove it: not sure if there are so many programs that require procfs.

Re: procfs in fstab?

Posted: Sat Jan 16, 2016 7:38 am
by Snap
Thanks, guys.