diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 423e89d5b..1a39da2db 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -22,40 +22,40 @@ | |||
22 | //config: default y | 22 | //config: default y |
23 | //config: select PLATFORM_LINUX | 23 | //config: select PLATFORM_LINUX |
24 | //config: help | 24 | //config: help |
25 | //config: All files and filesystems in Unix are arranged into one big directory | 25 | //config: All files and filesystems in Unix are arranged into one big directory |
26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a | 26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a |
27 | //config: particular part of the tree. A filesystem can either live on a block | 27 | //config: particular part of the tree. A filesystem can either live on a block |
28 | //config: device, or it can be accessible over the network, as is the case with | 28 | //config: device, or it can be accessible over the network, as is the case with |
29 | //config: NFS filesystems. Most people using BusyBox will also want to enable | 29 | //config: NFS filesystems. Most people using BusyBox will also want to enable |
30 | //config: the 'mount' utility. | 30 | //config: the 'mount' utility. |
31 | //config: | 31 | //config: |
32 | //config:config FEATURE_MOUNT_FAKE | 32 | //config:config FEATURE_MOUNT_FAKE |
33 | //config: bool "Support option -f" | 33 | //config: bool "Support option -f" |
34 | //config: default y | 34 | //config: default y |
35 | //config: depends on MOUNT | 35 | //config: depends on MOUNT |
36 | //config: help | 36 | //config: help |
37 | //config: Enable support for faking a file system mount. | 37 | //config: Enable support for faking a file system mount. |
38 | //config: | 38 | //config: |
39 | //config:config FEATURE_MOUNT_VERBOSE | 39 | //config:config FEATURE_MOUNT_VERBOSE |
40 | //config: bool "Support option -v" | 40 | //config: bool "Support option -v" |
41 | //config: default y | 41 | //config: default y |
42 | //config: depends on MOUNT | 42 | //config: depends on MOUNT |
43 | //config: help | 43 | //config: help |
44 | //config: Enable multi-level -v[vv...] verbose messages. Useful if you | 44 | //config: Enable multi-level -v[vv...] verbose messages. Useful if you |
45 | //config: debug mount problems and want to see what is exactly passed | 45 | //config: debug mount problems and want to see what is exactly passed |
46 | //config: to the kernel. | 46 | //config: to the kernel. |
47 | //config: | 47 | //config: |
48 | //config:config FEATURE_MOUNT_HELPERS | 48 | //config:config FEATURE_MOUNT_HELPERS |
49 | //config: bool "Support mount helpers" | 49 | //config: bool "Support mount helpers" |
50 | //config: default n | 50 | //config: default n |
51 | //config: depends on MOUNT | 51 | //config: depends on MOUNT |
52 | //config: help | 52 | //config: help |
53 | //config: Enable mounting of virtual file systems via external helpers. | 53 | //config: Enable mounting of virtual file systems via external helpers. |
54 | //config: E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call | 54 | //config: E.g. "mount obexfs#-b00.11.22.33.44.55 /mnt" will in effect call |
55 | //config: "obexfs -b00.11.22.33.44.55 /mnt" | 55 | //config: "obexfs -b00.11.22.33.44.55 /mnt" |
56 | //config: Also "mount -t sometype [-o opts] fs /mnt" will try | 56 | //config: Also "mount -t sometype [-o opts] fs /mnt" will try |
57 | //config: "sometype [-o opts] fs /mnt" if simple mount syscall fails. | 57 | //config: "sometype [-o opts] fs /mnt" if simple mount syscall fails. |
58 | //config: The idea is to use such virtual filesystems in /etc/fstab. | 58 | //config: The idea is to use such virtual filesystems in /etc/fstab. |
59 | //config: | 59 | //config: |
60 | //config:config FEATURE_MOUNT_LABEL | 60 | //config:config FEATURE_MOUNT_LABEL |
61 | //config: bool "Support specifying devices by label or UUID" | 61 | //config: bool "Support specifying devices by label or UUID" |
@@ -63,9 +63,9 @@ | |||
63 | //config: depends on MOUNT | 63 | //config: depends on MOUNT |
64 | //config: select VOLUMEID | 64 | //config: select VOLUMEID |
65 | //config: help | 65 | //config: help |
66 | //config: This allows for specifying a device by label or uuid, rather than by | 66 | //config: This allows for specifying a device by label or uuid, rather than by |
67 | //config: name. This feature utilizes the same functionality as blkid/findfs. | 67 | //config: name. This feature utilizes the same functionality as blkid/findfs. |
68 | //config: This also enables label or uuid support for swapon. | 68 | //config: This also enables label or uuid support for swapon. |
69 | //config: | 69 | //config: |
70 | //config:config FEATURE_MOUNT_NFS | 70 | //config:config FEATURE_MOUNT_NFS |
71 | //config: bool "Support mounting NFS file systems on Linux < 2.6.23" | 71 | //config: bool "Support mounting NFS file systems on Linux < 2.6.23" |
@@ -74,43 +74,43 @@ | |||
74 | //config: select FEATURE_HAVE_RPC | 74 | //config: select FEATURE_HAVE_RPC |
75 | //config: select FEATURE_SYSLOG | 75 | //config: select FEATURE_SYSLOG |
76 | //config: help | 76 | //config: help |
77 | //config: Enable mounting of NFS file systems on Linux kernels prior | 77 | //config: Enable mounting of NFS file systems on Linux kernels prior |
78 | //config: to version 2.6.23. Note that in this case mounting of NFS | 78 | //config: to version 2.6.23. Note that in this case mounting of NFS |
79 | //config: over IPv6 will not be possible. | 79 | //config: over IPv6 will not be possible. |
80 | //config: | 80 | //config: |
81 | //config: Note that this option links in RPC support from libc, | 81 | //config: Note that this option links in RPC support from libc, |
82 | //config: which is rather large (~10 kbytes on uclibc). | 82 | //config: which is rather large (~10 kbytes on uclibc). |
83 | //config: | 83 | //config: |
84 | //config:config FEATURE_MOUNT_CIFS | 84 | //config:config FEATURE_MOUNT_CIFS |
85 | //config: bool "Support mounting CIFS/SMB file systems" | 85 | //config: bool "Support mounting CIFS/SMB file systems" |
86 | //config: default y | 86 | //config: default y |
87 | //config: depends on MOUNT | 87 | //config: depends on MOUNT |
88 | //config: help | 88 | //config: help |
89 | //config: Enable support for samba mounts. | 89 | //config: Enable support for samba mounts. |
90 | //config: | 90 | //config: |
91 | //config:config FEATURE_MOUNT_FLAGS | 91 | //config:config FEATURE_MOUNT_FLAGS |
92 | //config: depends on MOUNT | 92 | //config: depends on MOUNT |
93 | //config: bool "Support lots of -o flags" | 93 | //config: bool "Support lots of -o flags" |
94 | //config: default y | 94 | //config: default y |
95 | //config: help | 95 | //config: help |
96 | //config: Without this, mount only supports ro/rw/remount. With this, it | 96 | //config: Without this, mount only supports ro/rw/remount. With this, it |
97 | //config: supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime, | 97 | //config: supports nosuid, suid, dev, nodev, exec, noexec, sync, async, atime, |
98 | //config: noatime, diratime, nodiratime, loud, bind, move, shared, slave, | 98 | //config: noatime, diratime, nodiratime, loud, bind, move, shared, slave, |
99 | //config: private, unbindable, rshared, rslave, rprivate, and runbindable. | 99 | //config: private, unbindable, rshared, rslave, rprivate, and runbindable. |
100 | //config: | 100 | //config: |
101 | //config:config FEATURE_MOUNT_FSTAB | 101 | //config:config FEATURE_MOUNT_FSTAB |
102 | //config: depends on MOUNT | 102 | //config: depends on MOUNT |
103 | //config: bool "Support /etc/fstab and -a" | 103 | //config: bool "Support /etc/fstab and -a" |
104 | //config: default y | 104 | //config: default y |
105 | //config: help | 105 | //config: help |
106 | //config: Support mount all and looking for files in /etc/fstab. | 106 | //config: Support mount all and looking for files in /etc/fstab. |
107 | //config: | 107 | //config: |
108 | //config:config FEATURE_MOUNT_OTHERTAB | 108 | //config:config FEATURE_MOUNT_OTHERTAB |
109 | //config: depends on FEATURE_MOUNT_FSTAB | 109 | //config: depends on FEATURE_MOUNT_FSTAB |
110 | //config: bool "Support -T <alt_fstab>" | 110 | //config: bool "Support -T <alt_fstab>" |
111 | //config: default y | 111 | //config: default y |
112 | //config: help | 112 | //config: help |
113 | //config: Support mount -T (specifying an alternate fstab) | 113 | //config: Support mount -T (specifying an alternate fstab) |
114 | 114 | ||
115 | /* On full-blown systems, requires suid for user mounts. | 115 | /* On full-blown systems, requires suid for user mounts. |
116 | * But it's not unthinkable to have it available in non-suid flavor on some systems, | 116 | * But it's not unthinkable to have it available in non-suid flavor on some systems, |