[arch-general] [arch-dev-public] initscripts changes
Attila
attila at invalid.invalid
Mon Apr 7 12:17:13 EDT 2008
On Montag, 7. April 2008 12:00 Karolina Lindqvist wrote:
> I think that is a good reason why the mount commands should be in /etc/fstab
> and not in some obscure init script.
I suggest the same because the fstab is the best point to collect the
necessary informations about what have to be mounted. At example this be some
lines on my opensuse server:
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
You see that some mountpoints have noauto which means that they get mounted
from the initscripts. I find this a perfect mix of having the informations at
one point for the users and giving the devs the possibilty to control it in
the initscript if necessary.
See you, Attila
More information about the arch-general
mailing list