diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e2fe25167..a4e78af57 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -435,6 +435,9 @@ | |||
435 | #ifdef CONFIG_MOUNT | 435 | #ifdef CONFIG_MOUNT |
436 | APPLET(mount, mount_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 436 | APPLET(mount, mount_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
437 | #endif | 437 | #endif |
438 | #ifdef CONFIG_MOUNTPOINT | ||
439 | APPLET(mountpoint, mountpoint_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
440 | #endif | ||
438 | #ifdef CONFIG_MSH | 441 | #ifdef CONFIG_MSH |
439 | APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 442 | APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
440 | #endif | 443 | #endif |
diff --git a/include/usage.h b/include/usage.h index dc8058a20..662227818 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1922,6 +1922,20 @@ | |||
1922 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ | 1922 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ |
1923 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" | 1923 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" |
1924 | 1924 | ||
1925 | #define mountpoint_trivial_usage \ | ||
1926 | "[-q] <[-d] DIR | -x DEVICE>" | ||
1927 | #define mountpoint_full_usage \ | ||
1928 | "mountpoint checks if the directory is a mountpoint\n\n" \ | ||
1929 | "Options:\n" \ | ||
1930 | "\t-q:\t\tBe more quiet\n" \ | ||
1931 | "\t-d:\t\tPrint major/minor device number of the filesystem\n" \ | ||
1932 | "\t-x:\t\tPrint major/minor device number of the blockdevice" | ||
1933 | #define mountpoint_example_usage \ | ||
1934 | "$ mountpoint /proc\n" \ | ||
1935 | "/proc is not a mountpoint\n" \ | ||
1936 | "$ mountpoint /sys\n" \ | ||
1937 | "/sys is a mountpoint\n" | ||
1938 | |||
1925 | #define mt_trivial_usage \ | 1939 | #define mt_trivial_usage \ |
1926 | "[-f device] opcode value" | 1940 | "[-f device] opcode value" |
1927 | #define mt_full_usage \ | 1941 | #define mt_full_usage \ |