SVR2 Mount Points

Mark Nettleingham mn at ll1.UUCP
Wed Feb 19 22:43:42 AEST 1986


> >We use this in the project I'm working on, and someone (who's credibility
> >I question) is telling me that this is improper, and causes the system to
> >behave irrationally, and that they cannot use it.
> 

  We have been using nested file systems for many years on this system and
so far haven't had a single problem because of it.
  The problem of unmounting in sequence during shutdown can be solved
by using df instead of mount. Df reports the file systems in reverse
order. So the line:
df | sed -n -e '/\/tmp /d' -e '/\/ /d' -e 's/^.*(\(.*\)).*/umount \1/p' | sh -
will correctly unmount all file systems in a single pass. Note: the
above line of code was given to me by Jack Allen of Bell South.

   Mark Nettleingham
   ll1!mn



More information about the Comp.unix.wizards mailing list