umount-all: Use /proc/mounts instead of output of 'mount' command.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 22 Mar 2011 11:15:21 +0000 (11:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 22 Mar 2011 11:15:34 +0000 (11:15 +0000)
commit490560439061398d47873484a55fb823be29b285
tree78dbc30c6b08562f1f0d664b4455cfc04db6cac0
parent1541f3a564f8ff14c1a63298120e4dc618ea3274
umount-all: Use /proc/mounts instead of output of 'mount' command.

The particular issue is that ntfs-3g (or FUSE?) no longer appears
to update /etc/mtab, which meant that umount-all was not unmounting
these partitions.  But parsing /proc/mounts is simpler and more
robust in any case.
daemon/mount.c