You don't need to unmount a network drive (or any drive)
from a mount-point on a file-system before you umount that
file-system!
In other words, if I have quark:/tmp mounted on /tmp, I can
umount / without unmounting quark:/tmp. 
If the network file-system is r/o or otherwise immune to
incomplete operations, you can shut down your client system
with impunity.
For example:
Script started on Fri Oct 18 15:01:59 2002
# mount quark:/tmp /tmp
# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdb1             16603376   6434704   9325264  41% /
/dev/sdc1              6356624   1198700   4835020  20% /alt
/dev/sdc3              2253284   1768580    370244  83% /home/users
/dev/sda1              1048272    282768    765504  27% /dos/drive_C
/dev/sda5              1046224    181280    864944  17% /dos/drive_D
quark:/tmp              813598    430482    341082  56% /tmp
# umount /dos/drive_C
# umount /dos/drive_D
# umount /home/users
# umount /alt
# umount /
# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdb1             16603376   6434704   9325264  41% /
quark:/tmp              813598    430482    341082  56% /tmp
# > /xxx
bash: /xxx: Read-only file system
# > /tmp/xxx
# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdb1             16603376   6434704   9325264  41% /
quark:/tmp              813598    430482    341082  56% /tmp
# exit
exit
Script done on Fri Oct 18 15:05:39 2002
As you can see, '/' is now read-only, but /tmp is read-write.
It is save to hit the reset button or otherwise halt the CPU
at this time.
If your shutdown scripts or code 'think' you need to unmount
all the mount-points before you unmount '/', they are broken
and need to be fixed.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/