Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: when does the lost datafile get noticed

Re: when does the lost datafile get noticed

From: mkb <mkb125_at_yahoo.com>
Date: Fri, 4 Mar 2005 08:26:30 -0800 (PST)
Message-ID: <20050304162630.24665.qmail@web41304.mail.yahoo.com>

And as Peter Gram noted:
> When you delete a file on unix the file is not
> removed until all
> processes has closes the file.

When you issue the rm command, the actual function that gets executed is unlink. From the man pages:

"unlink deletes a name from the filesystem. If that name was the last link to a file and no processes have the file open the file is deleted and the space it was using is made available for reuse.

If the name was the last link to a file but any processes still have the file open the file will remain in existence until the last file descriptor referring to it is closed."

If you think of rm as a synonym to unlink, then this makes better sense. Show the client this and they should be able to understand as well.

--
mohammed
 


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Mar 04 2005 - 11:29:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US