image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old March 8th, 2003, 10:11 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,152
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
rm -P switch?

I was curious about the wording of this in the rm manpage:
Code:
     -P    Overwrite regular files before deleting them.  Files are overwrit-
           ten three times, first with the byte pattern 0xff, then 0x00, and
           then 0xff again, before they are deleted.
Presumably this is to add security so that undelete apps can't read the byte pattern from the hard disk but: It's overwritten 3 times before it's deleted?
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• iMac G4 TFT 700 MHz | MacOS X 10.4.11 (8S165) | 768 MB RAM, 40 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #2  
Old March 8th, 2003, 10:24 PM
Tech
 
Join Date: Jun 2001
Location: Dover, DE
Posts: 3,733
Thanks: 0
Thanked 5 Times in 5 Posts
DeltaMac will become famous soon enough
A file can't be overwritten AFTER it's deleted, can it?
__________________
Serendipity is a lucky guess !
Reply With Quote
  #3  
Old March 8th, 2003, 10:27 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,152
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
I suppose you're right, I was just thinking that the file would be deleted, and the physical location of the file would be stored by rm and then overwritten; but I suppose that's crazy since rm probably doesn't have anything to do with the physical location of the file...
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• iMac G4 TFT 700 MHz | MacOS X 10.4.11 (8S165) | 768 MB RAM, 40 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #4  
Old March 8th, 2003, 11:14 PM
ex2bot's Avatar
Mac Fanbot
 
Join Date: Apr 2002
Location: live?
Posts: 1,357
Thanks: 0
Thanked 0 Times in 0 Posts
ex2bot is on a distinguished road
Mike,

Your message fits better in the Mac OSX Unix & X11 forum, so I moved it there.

Have fun.

Doug
__________________
"Just as some newborn race of superintelligent robots are about to consume all humanity, our dear old species will likely be saved by a Windows crash. The poor robots will linger pathetically, begging us to reboot them, even though they'll know it would do no good." - Anonymous
Reply With Quote
  #5  
Old March 8th, 2003, 11:18 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,152
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
I just noticed that forum was unix (I only noticed the X11 in the title, not the "unix", and wondered where the Darwin forum went).

Sorry
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• iMac G4 TFT 700 MHz | MacOS X 10.4.11 (8S165) | 768 MB RAM, 40 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #6  
Old March 9th, 2003, 10:41 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
Yes, that's so as to erase a file thoroughly, i.e. unretrievably. This is similar to PGP's 'wipe' command.

Thanks for pointing out that option though
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN sending data over WAN with switch jaguarfox13 Networking & Compatibility 7 March 30th, 2003 09:53 AM
hats off to switch campaign... another submissive triumph MacLuv Opinions, & Open Letters 1 November 5th, 2002 08:39 PM
virtual switch vs network sharing in Virtual PC leonw Mac OS X System & Mac Software 0 April 26th, 2002 01:06 PM
Keyboard shortcut to switch windows beh01@uow.edu.au Mac OS X System & Mac Software 3 February 26th, 2002 08:11 PM
MacOS X won't switch off iMac Monitor Dradts Mac OS X System & Mac Software 4 February 8th, 2002 02:33 PM


All times are GMT -5. The time now is 03:58 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.