Red Hat Bugzilla – Bug 356121
Dump does not default to level 9 as per the man page.
Last modified: 2013-04-30 19:37:13 EDT
Description of problem:
The default increment dump level is not "9" when omit the option "-level". This
is is different than the expected behavior in the man page.
Version-Release number of selected component (if applicable):
dump-0.4b41-2.fc6.src.rpm (yes, el5)
1. suppose the test device is 'dev', and this device is smaller enough to dump
to the root filesystem (dev: for example /dev/sdb)
2. execute command "dump -u -f back 'dev'"
3. execute command "dump -f back 'dev'"
4. execute command "file back | grep -i "level 9"
Dump level is 0.
Dump level should be 9 if no -[0-9] level specified as per man dump(8).
Created attachment 241081 [details]
Set the default dump level to 9.
This sets the default dump level to 9. It seems that pretty much everything
that that is incompatible with setting to 9 overrides the dump level anyway.
but to this is to be in accordance to the man page.
This may change expected behavior ( as it attempts to default to nothing (see
the select case in the code)
Modify manpage sounds better for me because this behavior (dump level 0 by
default) is more intuitive than level 9 by default
fixed in dump-0.4b41-3.el5
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.