[wipe] invalid command line options behaviour
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wipe (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1)
patben@
Description: Ubuntu 11.04
Release: 11.04
2)
patben@
wipe:
Zainstalowana: 0.21-9
Kandydująca: 0.21-9
Tabela wersji:
*** 0.21-9 0
500 http://
100 /var/lib/
3)
When running:
patben@
according to man page, option -Q (capital) should set number of passes to 1.
4)
Instead file is wiped more then 23 times (still running while writing this). As a side note I can report that option -q (small) works fine wiping file 4 times as written in man page.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: wipe 0.21-9
ProcVersionSign
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Jun 24 10:38:47 2011
ExecutablePath: /usr/bin/wipe
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
SHELL=/bin/bash
LANG=pl_PL.UTF-8
LANGUAGE=pl_PL:en
SourcePackage: wipe
UpgradeStatus: Upgraded to natty on 2011-05-27 (28 days ago)
Hi,
The -Q option must be in conjunction with -q. This is explicity in manpage:
-q (quick wipe)
If this option is used, wipe will only make (by default) 4 passes on each file, writing random data. See option -Q
-Q <number-of-passes>
Sets the number of passes for quick wiping. Default is 4.
The command error also says:
# wipe -Q 1 1
Invocation error (-h for help): option -Q useless without -q
However, I will make it a bit more clean in manpage.
Regards,
Eriberto