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

Dieter Plaetinck dieter at plaetinck.be
Sun Jul 11 11:34:26 EDT 2010


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 found by doing a normal alpabetical
(reverse) sorting of the mountpoints, so i just use the sort tool.

Dieter


More information about the arch-general mailing list