umount patch
Fabio Busatto
fabio.busatto at sikurezza.org
Thu Sep 6 05:50:51 PDT 2007
Hi, this is a very simple patch to add support in umount for -i option.
It is required for compatibility with util-linux umount, and some
software like fuse needs it (see recent post about mount patch).
The patch let umount to recognize and silently ignore the option.
Bye :)
Fabio
diff -uNr busybox-orig/util-linux/umount.c busybox/util-linux/umount.c
--- busybox-orig/util-linux/umount.c 2007-09-06 09:20:17.000000000 +0200
+++ busybox/util-linux/umount.c 2007-09-06 14:27:15.000000000 +0200
@@ -12,10 +12,10 @@
#include <getopt.h>
#include "libbb.h"
-#define OPTION_STRING "flDnravdt:"
+#define OPTION_STRING "flDnravdit:"
#define OPT_FORCE 1
#define OPT_LAZY 2
-#define OPT_DONTFREELOOP 4
+#define OPT_DONTFREELOOP 4
#define OPT_NO_MTAB 8
#define OPT_REMOUNT 16
#define OPT_ALL (ENABLE_FEATURE_UMOUNT_ALL ? 32 : 0)
--
Fabio Busatto <fabio.busatto at sikurezza.org>
More information about the busybox
mailing list