bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17149: shred - tape data


From: Paul Eggert
Subject: bug#17149: shred - tape data
Date: Mon, 31 Mar 2014 18:20:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]