diff options
author | Shawn Landden <slandden@gmail.com> | 2018-01-08 13:31:58 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-14 17:38:29 +0100 |
commit | 4e71661e3aabd04ae5bf6078bbc38f4940a2349c (patch) | |
tree | 2fa7f53e0d16387c51baa33bcc9858017eceeded | |
parent | 59675c625d6500a9a0657481321954b0d1f63da9 (diff) | |
download | busybox-w32-4e71661e3aabd04ae5bf6078bbc38f4940a2349c.tar.gz busybox-w32-4e71661e3aabd04ae5bf6078bbc38f4940a2349c.tar.bz2 busybox-w32-4e71661e3aabd04ae5bf6078bbc38f4940a2349c.zip |
umount: ignore -c
"-c, --no-canonicalize: Do not canonicalize paths."
As busybox doesn't canonicalize paths in the first place it is safe to ignore
this option.
See https://github.com/systemd/systemd/issues/7786
Signed-off-by: Shawn Landden <slandden@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index a6405dfcc..b45cd8a6b 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -81,8 +81,8 @@ static struct mntent *getmntent_r(FILE* stream, struct mntent* result, | |||
81 | } | 81 | } |
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | /* ignored: -v -t -i */ | 84 | /* ignored: -c -v -t -i */ |
85 | #define OPTION_STRING "fldnra" "vt:i" | 85 | #define OPTION_STRING "fldnra" "cvt:i" |
86 | #define OPT_FORCE (1 << 0) // Same as MNT_FORCE | 86 | #define OPT_FORCE (1 << 0) // Same as MNT_FORCE |
87 | #define OPT_LAZY (1 << 1) // Same as MNT_DETACH | 87 | #define OPT_LAZY (1 << 1) // Same as MNT_DETACH |
88 | #define OPT_FREELOOP (1 << 2) | 88 | #define OPT_FREELOOP (1 << 2) |