wipe and journalling file systems (was Re: Deleting a Folder)

2006-10-09 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/08/06 12:39, Pollywog wrote:
 On Sunday 08 October 2006 14:41, Richard wrote:
[snip]
 Have you looked into the 'wipe' utility?
 It won't work on journaled filesystems, though.

The shred(1)[0] man page states:

   In  the  case  of ext3 file systems, the above dis-
   claimer applies  (and  shred  is  thus  of  limited
   effectiveness)  only  in  data=journal  mode, which
   journals file data in addition  to  just  metadata.
   In  both the data=ordered (default) and data=write-
   back modes, shred works as usual.  Ext3  journaling
   modes  can  be changed by adding the data=something
   option to the mount options for a  particular  file
   system in the /etc/fstab file, as documented in the
   mount man page (man mount).

I'm sure that the same reasoning that says that shred(1) will shred
files on default ext3 mounts will also allow wipe to shred files.

Except, of course, modern hard drives do transparent sector
remapping, so even shredding an ext2 partition can't guarantee total
 safety.  I've Googled for the curie temperature of hard drive
platters, but have found only conflicting non-expert numbers.
Heating the media in a pottery kiln should suffice.  A MAPP gas
hand-held blow-torch (5300F, 2930C) should also do the trick.

[0] shred is in coreutils.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is common sense really valid?
For example, it is common sense to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that common sense is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFKiIyS9HxQb37XmcRAni2AKDEuo0PszPG2pMbIzlmhnddpX/x7ACggLi8
KqQV6Onr/KdYR7Jz9C53fnk=
=egvT
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Deleting a Folder

2006-10-08 Thread Richard
Lets say I have a folder that has about 400 items,
from mp3 to xls sheets, to mpeg movies to .pdf files, all kinds of media 
types..

What command in Linux, can shred the whole folder and ALL of its contents, 
without me going into the folder and hand deleting items by group type.

Just looking for a quicker method, have attachment folder for emails,
it fills up quick.

eg: folder: attachments  402 items...

Thanks -
Rich



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Deleting a Folder

2006-10-08 Thread Andreas Berglund

Richard wrote:

Lets say I have a folder that has about 400 items,
from mp3 to xls sheets, to mpeg movies to .pdf files, all kinds of media 
types..


What command in Linux, can shred the whole folder and ALL of its contents, 
without me going into the folder and hand deleting items by group type.


rm -r folder

regards
Andreas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Deleting a Folder

2006-10-08 Thread Miles Fidelman

Andreas Berglund wrote:

Richard wrote:

Lets say I have a folder that has about 400 items,
from mp3 to xls sheets, to mpeg movies to .pdf files, all kinds of 
media types..


What command in Linux, can shred the whole folder and ALL of its 
contents, without me going into the folder and hand deleting items by 
group type.


rm -r folder

might need to do
rm -rf folder

Miles


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Deleting a Folder

2006-10-08 Thread Pollywog
On Sunday 08 October 2006 14:41, Richard wrote:
 Lets say I have a folder that has about 400 items,
 from mp3 to xls sheets, to mpeg movies to .pdf files, all kinds of media
 types..

 What command in Linux, can shred the whole folder and ALL of its contents,
 without me going into the folder and hand deleting items by group type.

 Just looking for a quicker method, have attachment folder for emails,
 it fills up quick.

 eg: folder: attachments  402 items...

Have you looked into the 'wipe' utility?
It won't work on journaled filesystems, though.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Deleting a folder

2006-10-08 Thread Jonathan Roberts
I'm not certain but I think you can use this command:rm -R [folder name]check the man page...you can also remove files that begin/end with specific strings.-- Jon


Re: Deleting a folder

2006-10-08 Thread pete
On Sun, Oct 08, 2006 at 08:19:24PM +0100, Jonathan Roberts wrote:
 I'm not certain but I think you can use this command:
 
 rm -R [folder name]
 
 check the man page...you can also remove files that begin/end with specific
 strings.

I sometimes use the 'shred' command, typically like this :

$ shred -uz top_secret.txt

or

$ shred -uz top_secret/*

I guess then as you say a rm -R top_secret would do away with the directory
nicely too.

Not quite what the OP wanted I guess (shred) but it works for me.

HTH.

Regards,

Pete.


signature.asc
Description: Digital signature


Re: Deleting a folder

2006-10-08 Thread Clive Menzies
On (08/10/06 20:59), pete wrote:
 On Sun, Oct 08, 2006 at 08:19:24PM +0100, Jonathan Roberts wrote:
  I'm not certain but I think you can use this command:
  
  rm -R [folder name]
  
  check the man page...you can also remove files that begin/end with specific
  strings.
 
 I sometimes use the 'shred' command, typically like this :
 
 $ shred -uz top_secret.txt
 
 or
 
 $ shred -uz top_secret/*
 
 I guess then as you say a rm -R top_secret would do away with the directory
 nicely too.
 
 Not quite what the OP wanted I guess (shred) but it works for me.

I thought this was a wind up :) and so I did 'man shred' and
whadayaknow, it exists and is pretty groovy.

Thanks

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Deleting a folder

2006-10-08 Thread Pollywog
On Sunday 08 October 2006 22:26, Clive Menzies wrote:


 I thought this was a wind up :) and so I did 'man shred' and
 whadayaknow, it exists and is pretty groovy.

I did not know that the shred command could remove subdirectories, only files.
That is why I only mentioned 'wipe'.  Neither tool will work on journaled 
filesystems.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]