]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/findmnt.c
findmnt: add --nocanonicalize to avoid realpath()
authorKarel Zak <kzak@redhat.com>
Mon, 16 Jun 2014 13:47:50 +0000 (15:47 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jun 2014 13:47:50 +0000 (15:47 +0200)
commit097e7f2ff48a31cdbd3f92236388fbc2c8e986c3
tree1bb757decb9c31bc3bc4f6ed6fd4ac7cd14b06a6
parent1469736053d9c14b5a74117048168ece63cd2aac
findmnt: add --nocanonicalize to avoid realpath()

 * in some cases is realpath() overkill
 * sometimes you want to search for explicitly specified paths (e.g.
   "findmnt --fstab /mnt/symlink") rather than for real paths
 * you want to avoid readlink() and stat() on NFS

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.8
misc-utils/findmnt.c