diff options
author | Denis Vlasenko | 2007-09-26 17:54:18 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-26 17:54:18 +0000 |
commit | 7ae209c0190c0c6e6b1c95ee9005edf4729e1ce0 (patch) | |
tree | 39924a81fa6fa6d7ab2ee7246ce24285078e8ae2 /include | |
parent | 137fbe495d3922b71490d01083f04331eb0e6671 (diff) | |
download | busybox-7ae209c0190c0c6e6b1c95ee9005edf4729e1ce0.zip busybox-7ae209c0190c0c6e6b1c95ee9005edf4729e1ce0.tar.gz |
losetup: support -f (Loic Grenie <loic.grenie@gmail.com>)
function old new delta
losetup_main 238 278 +40
packed_usage 23021 23027 +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 46/0) Total: 46 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h index 09c8fa7..b028f5a 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1868,19 +1868,21 @@ " -f Output data as the log grows" #define losetup_trivial_usage \ - "[-o OFFSET] [-d] LOOPDEVICE [FILE]]" + "[-o OFS] LOOPDEV FILE - associate loop devices\n" \ + " losetup -d LOOPDEV - disassociate\n" \ + " losetup [-f] - show" #define losetup_full_usage \ - "(Dis)associate LOOPDEVICE with FILE, or display current associations" \ - "\n\nOptions:\n" \ - " -d Disassociate LOOPDEVICE\n" \ - " -o OFFSET Start OFFSET bytes into FILE" + "Options:\n" \ + " -o OFS Start OFS bytes into FILE\n" \ + " -f Show first free loop device" #define losetup_notes_usage \ "No arguments will display all current associations.\n" \ "One argument (losetup /dev/loop1) will display the current association\n" \ "(if any), or disassociate it (with -d). The display shows the offset\n" \ "and filename of the file the loop device is currently bound to.\n\n" \ "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" \ - "with an optional offset (-o 12345). Encryption is not yet supported.\n\n" + "with an optional offset (-o 12345). Encryption is not yet supported.\n" \ + "losetup -f will show the first loop free loop device\n\n" #define ls_trivial_usage \ "[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ |