Markku Pesonen wrote: > Arthur Radley wrote: > umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc >/dev/null > Despite using the -r option, umount does not remount the root filesystem > in read-only mode during shutdown like it used to. Adding this command > after that line fixed things for me: > mount -n -o remount,ro / > slackware does that (from /etc/rc.d/rc.6): ... # Turn off swap: echo "Turning off swap." /sbin/swapoff -a /bin/sync
echo "Unmounting local file systems." /bin/umount -v -a -t no,proc,sysfs echo "Remounting root filesystem read-only." /bin/mount -v -n -o remount,ro / # This never hurts: /bin/sync ... Pierre -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
