Subject: RE: bug#17149: shred - tape data

From: Rupert Russell <[email-masked]>
Date: Tue, 1 Apr 2014 07:21:55 +0000

Thanks Paul, 

However, my distribution doesn't appear to have a -o option.
Tried, -o, -O and ,-0 but all not recognised options.

--version says 7.1 
courtesy one Colin Plumb.

Rupert Russell
OPERATIONS MANAGER

Ilmor Engineering Ltd
Quarry Road, Brixworth, Northamptonshire, NN6 9UB, UK

Direct:     +44 (0)1604 799105
Main:       +44 (0)1604 799100
Web:       www.ilmor.co.uk

-----Original Message-----
From: Paul Eggert [mailto:[email-masked]] 
Sent: 01 April 2014 02:21
To: Pádraig Brady; Rupert Russell
Cc: [email-masked]
Subject: Re: bug#17149: shred - tape data

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 email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________

______________________________________________________________________

This e-mail may contain confidential and /or privileged information. If you 
are not the intended recipient (or have received this e-mail in error)please 
notify the sender immediately and destroy this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this email is strictly forbidden.

This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com