Giving the new fix a test:

        % badblocks -nw /dev/hda4 ; echo $?
        The -n and -w options are mutually exclusive.

        Usage: badblocks [-b block_size] [-i input_file] [-o output_file] 
[-svwnf]
         [-c blocks_at_once] [-p num_passes] [-t test_pattern [-t test_pattern 
[...]]]
         device [last_block [start_block]]
        1

That is better.  I've one qualm though -- shouldn't the error text be
prefaced with the program's name?  e.g.:

        badblocks: The -n and -w options are mutually exclusive.

Supposing badblocks was used in a script, and somehow the error
occurred; if the script called many programs, a person trying to debug
the output of that script might not know what program produced the
error message.

HTH...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to