[wipe] invalid command line options behaviour

Bug #801472 reported by Patryk "LeadMan" Benderz
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wipe (Ubuntu)
Fix Released

Bug Description

patben@esp-patben-lin:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

patben@esp-patben-lin:~$ apt-cache policy wipe
  Zainstalowana: 0.21-9
  Kandydująca: 0.21-9
  Tabela wersji:
 *** 0.21-9 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

When running:
patben@esp-patben-lin:~$ wipe -rci -Q 1 /media/F82C22132C21CE06/pagefile.sys
according to man page, option -Q (capital) should set number of passes to 1.

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
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Jun 24 10:38:47 2011
ExecutablePath: /usr/bin/wipe
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: wipe
UpgradeStatus: Upgraded to natty on 2011-05-27 (28 days ago)

Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :
Revision history for this message
Eriberto (eriberto) wrote :


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.



Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wipe - 0.22-4

wipe (0.22-4) unstable; urgency=medium

  * debian/control:
      - Bumped Standards-Version to 3.9.8.
      - Improved the long description.
      - Updated the Vcs-* fields to use https instead of http and git.
  * debian/copyright: updated packaging copyright years.
  * debian/patches/:
      - 001_fix-manpages.diff: removed. No longer necessary escape hyphens in
      - 002-add-hardening: renamed to 10_add-hardening.patch.
      - 20_fix-manpage.patch:
          ~ Added to fix a spelling error and remove invalid macro SP.
          ~ Fix a wrong example. Thanks to (No Name)
            <email address hidden>. (Closes: #411971)
          ~ Make clearer the -Q option use. (LP: #801472)
          ~ Make the man page clear about number of default passes. For this,
            thanks to Runa Sandvik <email address hidden> (Closes: #544774)
      - 30_fix-spelling-binary.patch: added to fix a spelling error in final
      - 40-fix_warnings.patch: added to fix some GCC warnings.
      - 50_hide-filenames.patch: added to really delete filenames of deleted
        files. Thanks to Timo Boettcher <<email address hidden>,
        <email address hidden>> (Closes: #726388)
      - 60_fix-warnings.patch: added to fix some GCC warnings in previous
  * debian/README.source: added to tell about new upstream's repository.
  * debian/rules:
      - Added specific rules to build to GNU/kFreeBSD.
      - Removed unnecessary lines because the current upstream Makefile already
        provides all necessary flags.
  * debian/watch: bumped to version 4.

 -- Joao Eriberto Mota Filho <email address hidden> Tue, 06 Sep 2016 14:44:36 -0300

Changed in wipe (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.