This is kind of silly, but I maintain my own version of the initscripts for read-only root filesystem, and I always wondered if there is any reason the following lines
# re-mount /proc , /sys and usbfs so they can be written to /etc/mtab umount /proc/bus/usb umount /proc && mount -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys [ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb shouldn't be just # re-mount /proc , /sys and usbfs so they can be written to /etc/mtab mount -f -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && mount -f -t sysfs none /sys [ "`grep usbfs /proc/filesystems`" ] && mount -f -t usbfs none /proc/bus/usb just seems a little cleaner, fewer system calls... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
