GNU bug report logs - #10493
coreutils shred fat32

Previous Next

Package: coreutils;

Reported by: Leontiev Danil <YaTree <at> yandex.ru>

Date: Fri, 13 Jan 2012 07:53:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 10493 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Leontiev Danil <YaTree <at> yandex.ru>
Cc: g.esp <at> free.fr, 10493 <at> debbugs.gnu.org
Subject: Re: bug#10493: coreutils shred fat32
Date: Fri, 13 Jan 2012 14:57:39 +0100
Leontiev Danil wrote:
> Thx for the answer.
>
> first start:
> [root <at> localhost usb]$ LANG=C shred -uvf /media/usb/test
> shred: /media/usb/test: pass 1/3 (random)...
> shred: /media/usb/test: pass 2/3 (random)...
> shred: /media/usb/test: error writing at offset 0: Invalid argument
>
> second start:
> [root <at> localhost usb]$ LANG=C shred -uvf /media/usb/test
> shred: /media/usb/test: pass 1/3 (random)...
> shred: /media/usb/test: pass 2/3 (random)...
> shred: /media/usb/test: pass 3/3 (random)...
> shred: /media/usb/test: removing
> shred: /media/usb/test: renamed to /media/usb/0000
> shred: /media/usb/0000: renamed to /media/usb/000
> shred: /media/usb/000: renamed to /media/usb/00
> shred: /media/usb/00: renamed to /media/usb/1
> shred: /media/usb/test: removed
>
>
> I did insert debugging information in a source, I can send, and this log.
>
> Obscure point is related to the variable "ssize", in which the first
> "run" to 4096. If you call the utility shred on device with a
> non-fat32 fs (i use ext2 i.e.), the value will -1.
>
> Sorry for my english.

Thanks for the report.
What version of shred are you using?
Run "shred --version" to see that.
It's 7.1 or greater, since that's when we switched the default
from 25 to 3 overwrites, but not much has changed in shred since then.

What type of system are you using?
I.e., what type/version kernel and C library?
For the kernel, run uname -a.

Please run this command and send us the resulting LOG file, too:

  strace -o LOG shred -uvf /media/usb/test




This bug report was last modified 6 years and 217 days ago.

Previous Next


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