Re: when does the lost datafile get noticed

  • From: mkb <mkb125@xxxxxxxxx>
  • To: ganstadba@xxxxxxxxxxx, oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 4 Mar 2005 08:26:30 -0800 (PST)

--- Michael McMullen <ganstadba@xxxxxxxxxxx> wrote:
> or does
> this go back to the inode post a few days back.

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/
--
//www.freelists.org/webpage/oracle-l

Other related posts: