systemd uses -c.
-c, --no-canonicalize
Do not canonicalize paths. The paths canonicalization is based
on stat(2) and readlink(2) system calls. These system calls may
hang in some cases (for example on NFS if server is not availā
able). The option has to be used with canonical path to the
mount point.
For more details about this option see the mount(8) man page.
Note that umount does not pass this option to the
/sbin/umount.type helpers.
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 <[email protected]>
---
util-linux/umount.c | 4 ++--
1 file 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,
}
#endif
-/* ignored: -v -t -i */
-#define OPTION_STRING "fldnra" "vt:i"
+/* ignored: -c -v -t -i */
+#define OPTION_STRING "fldnra" "cvt:i"
#define OPT_FORCE (1 << 0) // Same as MNT_FORCE
#define OPT_LAZY (1 << 1) // Same as MNT_DETACH
#define OPT_FREELOOP (1 << 2)
--
2.14.1
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox