aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/badblocks.fish
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2008-01-20 00:58:49 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2008-01-20 00:58:49 +1000
commitbf7d62fd91a82994870d96cb28275736307793e9 (patch)
treeca7a75e74e6fa6cf7d5c9802b67b05e2a443c88a /share/completions/badblocks.fish
parent4ac31e637d40582dc2e321e4674257187e4532b5 (diff)
Add completions for badblocks
darcs-hash:20080119145849-75c98-657a11bc69fbf625b01f84f1f6638e0d4b767228.gz
Diffstat (limited to 'share/completions/badblocks.fish')
-rw-r--r--share/completions/badblocks.fish19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/completions/badblocks.fish b/share/completions/badblocks.fish
new file mode 100644
index 00000000..c71c57b0
--- /dev/null
+++ b/share/completions/badblocks.fish
@@ -0,0 +1,19 @@
+#
+# Command specific completions for the badblocks command.
+# These completions where generated from the commands
+# man page by the make_completions.py script, and
+# have been hand edited since.
+#
+
+complete -c badblocks -s b --description 'Block-size Specify the size of blocks in bytes'
+complete -c badblocks -s c --description 'Number of blocks is the number of blocks which are tested at a time'
+complete -c badblocks -s f --description 'Normally, badblocks will refuse to do a read/write or a nondestructive test on a device which is mounted, since either can cause the system to potentially crash and/or damage the filesys‐ tem even if it is mounted read-only'
+complete -c badblocks -s i --description 'Input_file Read a list of already existing known bad blocks'
+complete -c badblocks -s o --description 'Output_file Write the list of bad blocks to the specified file'
+complete -c badblocks -s p --description 'Repeat scanning the disk until there are no new blocks discovered in specified number of consecutive scans of the disk'
+complete -c badblocks -s t --description 'Test_pattern Specify a test pattern to be read (and written) to disk blocks'
+complete -c badblocks -s n --description 'Use non-destructive read-write mode'
+complete -c badblocks -s s --description 'Show the progress of the scan by writing out the block numbers as they are checked'
+complete -c badblocks -s v --description 'Verbose mode'
+complete -c badblocks -s w --description 'Use write-mode test'
+complete -c badblocks -s X --description 'Internal flag only to be used by e2fsck(8) and mke2fs(8)'