* 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.
This commit is contained in:
Matt Kraai
2002-03-20 17:38:37 +00:00
parent 27eff033d2
commit 83788da250
5 changed files with 72 additions and 0 deletions

View File

@@ -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