summaryrefslogtreecommitdiffstats
path: root/shlibs/mount
diff options
context:
space:
mode:
authorKarel Zak2010-08-05 12:26:00 +0200
committerKarel Zak2011-01-03 12:28:40 +0100
commitb2214e1f3e6e58fce214c8d68c4c7a3660a2d362 (patch)
treec227323e5edb755cacbc3daaf83621e96154083c /shlibs/mount
parentlibmount: add mnt_optstr_get_mountflags() (diff)
downloadkernel-qcow2-util-linux-b2214e1f3e6e58fce214c8d68c4c7a3660a2d362.tar.gz
kernel-qcow2-util-linux-b2214e1f3e6e58fce214c8d68c4c7a3660a2d362.tar.xz
kernel-qcow2-util-linux-b2214e1f3e6e58fce214c8d68c4c7a3660a2d362.zip
findmnt: add support for fs-root (subvolumes and bind mounts)
This patch modifies the default output for SOURCE column. All btrfs subvolume mountpoints and all bind-mount (where source is not root of FS) will be printed as: SOURCE TARGET /dev/sda1[/aaa] /mnt/test where /aaa is subvolume name or fs root for bind mounts, it means: # mount -t btrfs /dev/sda1 /mnt/test -o subvol=aaa or: # mount --bind /aaa /mnt/test The info about fs-root is 4th column in /proc/self/mountinfo. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount')
0 files changed, 0 insertions, 0 deletions