diff options
author | Matt Kraai <kraai@debian.org> | 2002-03-20 17:38:37 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2002-03-20 17:38:37 +0000 |
commit | 83788da25055c4a2775c3d78a29255ee671141bb (patch) | |
tree | 0b3bc1a959cb05eed021051978f7af1cc9c3108d /include | |
parent | 27eff033d20198f04ecf44af93988b89363650e4 (diff) |
* 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.
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 @@ #ifdef CONFIG_LOGREAD APPLET(logread, logread_main, _BB_DIR_SBIN) #endif +#ifdef CONFIG_LOSETUP + APPLET(losetup, losetup_main, _BB_DIR_SBIN) +#endif #ifdef CONFIG_LS APPLET(ls, ls_main, _BB_DIR_BIN) #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 @@ #define logread_full_usage \ "Shows the messages from syslogd (using circular buffer)." +#define losetup_trivial_usage \ + "[OPTION]... LOOPDEVICE FILE\n" \ + "or: losetup [OPTION]... -d LOOPDEVICE" +#define losetup_full_usage \ + "Associate LOOPDEVICE with FILE.\n\n" \ + "Options:\n" \ + "\t-d\t\tDisassociate LOOPDEVICE.\n" \ + "\t-o OFFSET\tStart OFFSET bytes into FILE.\n" + #ifdef CONFIG_FEATURE_LS_TIMESTAMPS #define USAGE_LS_TIMESTAMPS(a) a #else |