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

2010-07-11 Thread Dieter Plaetinck
On Sun, 11 Jul 2010 12:20:39 -0500 Victor Lowther wrote: > On Jul 11, 2010, at 10:34 AM, Dieter Plaetinck > wrote: > > > 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

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

2010-07-11 Thread Victor Lowther
On Jul 11, 2010, at 10:34 AM, Dieter Plaetinck wrote: 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

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 f

[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