From 609c9d0f49c61d1407f2864e075e72b8c8762021 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 5 May 2001 06:45:05 +0000 Subject: [PATCH] ChangeLog, fsck.8.in: fsck.8.in: Add explicit language to describe how options get passed to filesystem-specific checkers. --- misc/ChangeLog | 3 +++ misc/fsck.8.in | 28 ++++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index c83c340..4106265 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,8 @@ 2001-05-05 Theodore Tso + * fsck.8.in: Add explicit language to describe how options get + passed to filesystem-specific checkers. + * badblocks.8.in: Fixed man page to describe the first optional parameter to badblocks as last_block, instead of num_blocks. (Debian bug #87216) diff --git a/misc/fsck.8.in b/misc/fsck.8.in index d26b466..9d3eaff 100644 --- a/misc/fsck.8.in +++ b/misc/fsck.8.in @@ -183,12 +183,32 @@ Produce verbose output, including all file system-specific commands that are executed. .TP .B fsck-options -Any options which are not understood by -.BR fsck , -or which follow the +Options which which are not understood by +.B fsck +are passed to the filesystem-specific checker. These arguments +.B must +not take arguments, as there is no +way for +.B fsck +to be able to properly guess which arguments take options and which +don't. +.IP +Options and arguments which follow the .B \-\- -option are treated as file system-specific options to be passed to the +are treated as file system-specific options to be passed to the file system-specific checker. +.IP +Please note that fsck is not +designed to pass arbitrarily complicated options to filesystem-specific +checkers. If you're doing something complicated, please just +execute the filesystem-specific checker directly. If you pass +.B fsck +some horribly complicated option and arguments, and it doesn't do +what you expect, +.B don't bother reporting it as a bug. +You're almost certainly doing something that you shouldn't be doing +with +.BR fsck. .PP Currently, standardized file system-specific options are somewhat in flux. Although not guaranteed, the following options are supported -- 1.8.3.1