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

Home -> Community -> Mailing Lists -> Oracle-L -> mv atomic operation?

mv atomic operation?

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Tue, 02 Sep 2003 13:29:32 -0800
Message-ID: <F001.005CE8CA.20030902132932@fatcity.com>


Hi!

Even though this isn't a unix/linux list I wanted to confirm that mv is an atomic operation in linux (that means, if the file entry appears in destination directory, is the file *immediately* *fully* accessible and with full original attributes or is there a tiny chance, that the file appears with size 0 or whatever similar difference first?). I'm writing a small archive log handling mechanism and just want to confirm it. I've seen few references about it being atomic in regular unixes, but haven't seen any for linux.

Thanks,
Tanel.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Sep 02 2003 - 16:29:32 CDT

Original text of this message

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