daemon: Reimplement 'mounts' and 'mountpoints' commands.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 5 Apr 2011 18:42:00 +0000 (19:42 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 5 Apr 2011 19:01:15 +0000 (20:01 +0100)
commit9b945cfa781a0f25c3b81239e2fcddceeede6e44
tree413a3cb9e59e21af3a3312ab2a9b68d2cbc83534
parentf3eea44f97340f747e46b0df6931a04b53abaf01
daemon: Reimplement 'mounts' and 'mountpoints' commands.

Reimplement these so they read /proc/mounts instead of trying to parse
the output of the 'mount' external command.

One consequence of this is that these commands now work again for
ntfs-3g filesystems.
daemon/mount.c