summaryrefslogtreecommitdiff
path: root/mount/sundries.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-12-03 15:30:53 +0100
committerKarel Zak <kzak@redhat.com>2009-12-03 15:30:53 +0100
commit45fc569a75d4e83a045027acf8e2eda08638fa0d (patch)
tree03affc61e0a29f2ad538a2d678156a3a0013ca8d /mount/sundries.h
parentbe779d181d79110a76814af5208117a7f75adbee (diff)
downloadutil-linux-old-45fc569a75d4e83a045027acf8e2eda08638fa0d.tar.gz
mount: add --no-canonicalize option
For example the /sbin/mount.fuse command calls mount -i -f /dev/foo /absolut/path and it does not make sense to canonicalize already absolute paths. The new --no-canonicalize option allows to avoid unwanted readlink() calls. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/sundries.h')
-rw-r--r--mount/sundries.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mount/sundries.h b/mount/sundries.h
index 6d576e9d..3b6a4644 100644
--- a/mount/sundries.h
+++ b/mount/sundries.h
@@ -16,6 +16,7 @@
/* global mount, umount, and losetup variables */
extern int mount_quiet;
extern int verbose;
+extern int nocanonicalize;
extern char *progname;
#define streq(s, t) (strcmp ((s), (t)) == 0)