Debian Bug report logs - #294297
zum: wrongly runs on 'vfat' drive, and fills it up

version graph

Package: perforate; Maintainer for perforate is Amaya Rodrigo Sastre <amaya@debian.org>; Source for perforate is src:perforate.

Reported by: A Costa <agcosta@gis.net>

Date: Wed, 9 Feb 2005 00:48:02 UTC

Severity: important

Tags: help

Found in version 1.1-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Amaya Rodrigo Sastre <amaya@debian.org>:
Bug#294297; Package perforate. Full text and rfc822 format available.

Acknowledgement sent to A Costa <agcosta@gis.net>:
New Bug report received and forwarded. Copy sent to Amaya Rodrigo Sastre <amaya@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: A Costa <agcosta@gis.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zum: wrongly runs on 'vfat' drive, and fills it up
Date: Tue, 08 Feb 2005 19:35:46 -0500
Package: perforate
Version: 1.1-2
Severity: important


I ran this from the root directory:

	 find . -type f -print0 | xargs -0 zum

...and when it got to a 'vfat' drive I had mounted it filled it
with duplicate files, for example:

	foo.exe

...would have a new file of the same size in the same directory:

	foo.exe__zum__

Once the 'vfat' drive was full, 'zum' gave error messages like:

	./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/japanese2[1].gif./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/japanese2[1].gif__zum__: No space left on device
	./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/search_gc[1].gif./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/search_gc[1].gif__zum__: No space left on device
	./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/big-hand[4].png./mnt/c/win95/Temporary Internet Files/Content.IE5/uhtt0gci/big-hand[4].png__zum__: No space left on device

I halted 'zum', and erased all the __zum__ files; so no harm done.  
BUT it might have lost data if I was running some program that 
needed '/mnt/c'.

Possible fix: 'zum' should check to see if the file system was 
the correct type before doing anything.  For example, if it
finds the file is on a 'vfat' drive, 'zum' should do nothing,
and return an error.


Hope this helps...



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages perforate depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information



Tags added: help Request was from Amaya <amaya@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Amaya Rodrigo Sastre <amaya@debian.org>:
Bug#294297; Package perforate. (Wed, 08 Oct 2008 17:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Amaya Rodrigo Sastre <amaya@debian.org>. (Wed, 08 Oct 2008 17:42:03 GMT) Full text and rfc822 format available.

Message #12 received at 294297@bugs.debian.org (full text, mbox):

From: jidanni@jidanni.org
To: 294297@bugs.debian.org
Subject: say what filesystems can and can't be used
Date: Thu, 09 Oct 2008 01:34:48 +0800
And the man page should mention what filesystems are valid.




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 00:25:28 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.