On Fri, 10 Nov 2006 17:29:02 +0100, Douglas Tutty <[EMAIL PROTECTED]> wrote:

In my S40unmountfs:


echo -n "Unmounting local filesystems..."
umount -tnoproc,noprocfs,nodevfs,nosysfs,nousbfs,nousbdevfs,nodevpts -d -a -r
echo "done."

# This is superfluous.
mount -n -o remount,ro /


The umount -r means that in case unmounting fails, remount ro,
which therefore makes the mount -o remount,ro superfluous.

If you disable both attempts to remount ro and either power off or fsck,
you risk corruption.

Ah, I missed the -r subtlety. All this makes sense. Thanks.

--Daniel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to