Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: locking over the network (rename)

by SuicideJunkie (Vicar)
on Feb 01, 2011 at 14:28 UTC ( [id://885500]=note: print w/replies, xml ) Need Help??


in reply to Re^4: locking over the network (rename)
in thread locking over the network

Note the "file system boundaries". What that is referring to is trying to rename a file from one drive/partition to another, not watching the rename happen on a remote system.

IE: You can't rename a file from your hard disk to a floppy disk. Just doesn't make sense. Any such rename/mv operation would be done via a (very slow) copy, then a delete.

On the other hand, if you're renaming a file on the same partition, or in this case the same directory even, then all you need to do is change the name; the physical location of the file on the media doesn't need to change, and the file contents won't be partially written at any point during that operation. You simply won't see the file until the name begins matching the string you're looking for.

  • Comment on Re^5: locking over the network (rename)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://885500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found