GNU bug report logs - #17149
shred - tape data

Previous Next

Package: coreutils;

Reported by: Rupert Russell <Rupert.Russell <at> ilmor.co.uk>

Date: Mon, 31 Mar 2014 15:45:04 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>,  Rupert Russell <Rupert.Russell <at> ilmor.co.uk>
Cc: 17149 <at> debbugs.gnu.org
Subject: bug#17149: shred - tape data
Date: Mon, 31 Mar 2014 18:20:53 -0700
Pádraig Brady wrote:
> shred(1) doesn't rewind the tape.

But shred is supposed to rewind the tape, using lseek.

Can you find out what system calls are executed?  Use the command

shred -o tracefile -v /dev/st0

Warning: 'tracefile' will get quite large.  The point is to see what 
happens near the start of execution, and around the time that the write 
files.

My guess is that 'shred' is incorrectly calculating the tape size; it 
does that by seeking to the end of the tape, and perhaps this is going awry.




This bug report was last modified 11 years and 44 days ago.

Previous Next


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