svn commit: trunk/busybox/util-linux

vda at busybox.net vda at busybox.net
Wed Aug 29 11:49:43 UTC 2007


Author: vda
Date: 2007-08-29 04:49:41 -0700 (Wed, 29 Aug 2007)
New Revision: 19730

Log:
mount: allow (and ignore) -i



Modified:
   trunk/busybox/util-linux/mount.c


Changeset:
Modified: trunk/busybox/util-linux/mount.c
===================================================================
--- trunk/busybox/util-linux/mount.c	2007-08-28 23:06:33 UTC (rev 19729)
+++ trunk/busybox/util-linux/mount.c	2007-08-29 11:49:41 UTC (rev 19730)
@@ -1557,7 +1557,7 @@
 
 	// Parse remaining options
 
-	opt = getopt32(argv, "o:t:rwanfvs", &opt_o, &fstype);
+	opt = getopt32(argv, "o:t:rwanfvsi", &opt_o, &fstype);
 	if (opt & 0x1) append_mount_options(&cmdopts, opt_o); // -o
 	//if (opt & 0x2) // -t
 	if (opt & 0x4) append_mount_options(&cmdopts, "ro"); // -r
@@ -1567,6 +1567,7 @@
 	if (opt & 0x40) USE_FEATURE_MTAB_SUPPORT(fakeIt = 1); // -f
 	//if (opt & 0x80) // -v: verbose (ignore)
 	//if (opt & 0x100) // -s: sloppy (ignore)
+	//if (opt & 0x200) // -i: don't call mount.<fstype> (ignore)
 	argv += optind;
 	argc -= optind;
 




More information about the busybox-cvs mailing list