[arch-general] [PATCH 1/1] Make umounting filesystems much more paranoid.

2010-07-11 Thread Victor Lowther
In addition to just umounting filesystems, we also try to tear down volume groups, crypt mappings, and loopback devices. We skip /, /proc, /sys, and /dev when umounting filesystems. We do all of the above in a loop, escalating how forcible we are in umounting filesystems up to the point where

Re: [arch-general] [PATCH 1/1] Make umounting filesystems much more paranoid.

2010-07-11 Thread Dieter Plaetinck
fwiw in AIF I do something similar (see http://github.com/Dieterbe/aif/blob/master/src/core/libs/lib-blockdevices-filesystems.sh#L457) (but there i use a text file containing all mountpoints) The interesting thing is, to find the order in which you should mount or (or umount) blockdevices can be