diff options
| author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-03-20 17:38:37 +0000 |
|---|---|---|
| committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-03-20 17:38:37 +0000 |
| commit | bc3b058f3ee3fd783ebf05720b7aa1ba8958bbbe (patch) | |
| tree | 0b3bc1a959cb05eed021051978f7af1cc9c3108d /include | |
| parent | 84808b2d3d0a0a50597d8e88790b67380f5a8979 (diff) | |
| download | busybox-w32-bc3b058f3ee3fd783ebf05720b7aa1ba8958bbbe.tar.gz busybox-w32-bc3b058f3ee3fd783ebf05720b7aa1ba8958bbbe.tar.bz2 busybox-w32-bc3b058f3ee3fd783ebf05720b7aa1ba8958bbbe.zip | |
* include/applets.h (CONFIG_LOSETUP): New.
* include/usage.h (losetup_trivial_usage, losetup_full_usage): New.
* util-linux/Makefile: Add losetup.o.
* util-linux/config.in: Add losetup prompt.
* util-linux/losetup.c: New.
git-svn-id: svn://busybox.net/trunk/busybox@4450 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 0d310bdc3..6760fc5a1 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -269,6 +269,9 @@ | |||
| 269 | #ifdef CONFIG_LOGREAD | 269 | #ifdef CONFIG_LOGREAD |
| 270 | APPLET(logread, logread_main, _BB_DIR_SBIN) | 270 | APPLET(logread, logread_main, _BB_DIR_SBIN) |
| 271 | #endif | 271 | #endif |
| 272 | #ifdef CONFIG_LOSETUP | ||
| 273 | APPLET(losetup, losetup_main, _BB_DIR_SBIN) | ||
| 274 | #endif | ||
| 272 | #ifdef CONFIG_LS | 275 | #ifdef CONFIG_LS |
| 273 | APPLET(ls, ls_main, _BB_DIR_BIN) | 276 | APPLET(ls, ls_main, _BB_DIR_BIN) |
| 274 | #endif | 277 | #endif |
diff --git a/include/usage.h b/include/usage.h index c4ad0440b..6692aa520 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -989,6 +989,15 @@ | |||
| 989 | #define logread_full_usage \ | 989 | #define logread_full_usage \ |
| 990 | "Shows the messages from syslogd (using circular buffer)." | 990 | "Shows the messages from syslogd (using circular buffer)." |
| 991 | 991 | ||
| 992 | #define losetup_trivial_usage \ | ||
| 993 | "[OPTION]... LOOPDEVICE FILE\n" \ | ||
| 994 | "or: losetup [OPTION]... -d LOOPDEVICE" | ||
| 995 | #define losetup_full_usage \ | ||
| 996 | "Associate LOOPDEVICE with FILE.\n\n" \ | ||
| 997 | "Options:\n" \ | ||
| 998 | "\t-d\t\tDisassociate LOOPDEVICE.\n" \ | ||
| 999 | "\t-o OFFSET\tStart OFFSET bytes into FILE.\n" | ||
| 1000 | |||
| 992 | #ifdef CONFIG_FEATURE_LS_TIMESTAMPS | 1001 | #ifdef CONFIG_FEATURE_LS_TIMESTAMPS |
| 993 | #define USAGE_LS_TIMESTAMPS(a) a | 1002 | #define USAGE_LS_TIMESTAMPS(a) a |
| 994 | #else | 1003 | #else |
