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
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
2 matches
Mail list logo