diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-16 00:17:43 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-16 00:45:12 +0000 |
commit | cfcd7bc73ec91283b700d48b36b2ed68974d4376 (patch) | |
tree | 1ac294e44489eb70c77c09e45641ea07899cd6d3 /debian/patches/mount-n.patch | |
parent | f430f620dfa5ec76c9f751d99d249750fb78714e (diff) | |
parent | ebb437fb4b27fa565b9aebb05cda1e9db4ec17ff (diff) |
Merge branch 'upstream-merged'
Diffstat (limited to 'debian/patches/mount-n.patch')
-rw-r--r-- | debian/patches/mount-n.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/debian/patches/mount-n.patch b/debian/patches/mount-n.patch deleted file mode 100644 index 9b860877..00000000 --- a/debian/patches/mount-n.patch +++ /dev/null @@ -1,37 +0,0 @@ -Add -n and --no-mtab arguments. As we do not write an mtab file, this -is a trivial patch that just ignores this argument to be more -compatible with Linux mount. - -* utils/mount.c (argp_opts): Add -n and --no-mtab. -(parse_opt): Do nothing on 'n'. ---- - utils/mount.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/utils/mount.c b/utils/mount.c -index 8b059c2..ea30f7a 100644 ---- a/utils/mount.c -+++ b/utils/mount.c -@@ -54,6 +54,7 @@ static const struct argp_option argp_opts[] = - {"update", 'u', 0, 0, "Flush any meta-data cached in core"}, - {"remount", 0, 0, OPTION_ALIAS}, - {"verbose", 'v', 0, 0, "Give more detailed information"}, -+ {"no-mtab", 'n', 0, 0, "Do not update /etc/mtab"}, - {0, 0} - }; - -@@ -110,6 +111,10 @@ parse_opt (int key, char *arg, struct argp_state *state) - } - break; - -+ case 'n': -+ /* do nothing */ -+ break; -+ - case ARGP_KEY_ARG: - if (mountpoint == 0) /* One arg: mountpoint */ - mountpoint = arg; --- -1.7.10.4 - - |