diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /miscutils/mountpoint.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'miscutils/mountpoint.c')
-rw-r--r-- | miscutils/mountpoint.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index 784c3cbfc..a1a5b396a 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c | |||
@@ -9,6 +9,22 @@ | |||
9 | * Based on sysvinit's mountpoint | 9 | * Based on sysvinit's mountpoint |
10 | */ | 10 | */ |
11 | 11 | ||
12 | //usage:#define mountpoint_trivial_usage | ||
13 | //usage: "[-q] <[-dn] DIR | -x DEVICE>" | ||
14 | //usage:#define mountpoint_full_usage "\n\n" | ||
15 | //usage: "Check if the directory is a mountpoint\n" | ||
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -q Quiet" | ||
18 | //usage: "\n -d Print major/minor device number of the filesystem" | ||
19 | //usage: "\n -n Print device name of the filesystem" | ||
20 | //usage: "\n -x Print major/minor device number of the blockdevice" | ||
21 | //usage: | ||
22 | //usage:#define mountpoint_example_usage | ||
23 | //usage: "$ mountpoint /proc\n" | ||
24 | //usage: "/proc is not a mountpoint\n" | ||
25 | //usage: "$ mountpoint /sys\n" | ||
26 | //usage: "/sys is a mountpoint\n" | ||
27 | |||
12 | #include "libbb.h" | 28 | #include "libbb.h" |
13 | 29 | ||
14 | int mountpoint_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 30 | int mountpoint_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |