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

Re: Linux FS Question



> Date:          Wed, 18 Jun 1997 09:01:23 -0500
> To:            debian-user@lists.debian.org
> From:          "Tim O'Brien" <tjobrien@Traveller.COM>
> Subject:       Re: Linux FS Question

> Is there a way to securely delete a file? Or do I need to study the e2fs
> and develop a program to do it? I'm sure there's lots of people out there
> who'd like the ability to know that when something's been deleted, it's
> gone; no line, no waiting.. Right now. 
> 
> Ideas? 
> 

You could write a small c prog, that stats the file to get the size, 
then open the file, write 0's to the whole file, close it and unlink.
Most of this is standard library calls.

Stephen.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: