Magellan Linux

Contents of /trunk/busybox/patches/busybox-1.17.4-support-umount-t-option.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1396 - (show annotations) (download)
Fri Jul 1 13:43:39 2011 UTC (12 years, 10 months ago) by niro
File size: 1505 byte(s)
-fixed patch
1 diff -Naur busybox-1.17.4/include/usage.src.h busybox-1.17.4-magellan/include/usage.src.h
2 --- busybox-1.17.4/include/usage.src.h 2010-11-22 21:24:58.000000000 +0100
3 +++ busybox-1.17.4-magellan/include/usage.src.h 2011-07-01 17:47:51.000000000 +0200
4 @@ -4605,6 +4605,12 @@
5 "\n -r Try to remount devices as read-only if mount is busy" \
6 "\n -l Lazy umount (detach filesystem)" \
7 "\n -f Force umount (i.e., unreachable NFS server)" \
8 + "\n -t vfstype" \
9 + "\n Indicate that the actions should only be taken on file systems" \
10 + "\n of the specified type. More than one type may be specified in" \
11 + "\n a comma separated list. The list of file system types can be" \
12 + "\n prefixed with 'no' to specify the file system types on which" \
13 + "\n no action should be taken" \
14 IF_FEATURE_MOUNT_LOOP( \
15 "\n -d Free loop device if it has been used" \
16 )
17 diff -Naur busybox-1.17.4/util-linux/umount.c busybox-1.17.4-magellan/util-linux/umount.c
18 --- busybox-1.17.4/util-linux/umount.c 2010-11-22 21:24:58.000000000 +0100
19 +++ busybox-1.17.4-magellan/util-linux/umount.c 2011-07-01 17:30:31.000000000 +0200
20 @@ -56,7 +56,7 @@
21 #endif
22
23 /* ignored: -v -d -t -i */
24 -#define OPTION_STRING "fldnra" "vdt:i"
25 +#define OPTION_STRING "fldnrat:" "vdi"
26 #define OPT_FORCE (1 << 0)
27 #define OPT_LAZY (1 << 1)
28 #define OPT_FREELOOP (1 << 2)