Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: A file revert back to its original contents

by MarkM (Curate)
on Apr 11, 2003 at 04:06 UTC ( [id://249799]=note: print w/replies, xml ) Need Help??


in reply to A file revert back to its original contents

Is your file system mounted over the network? The symptoms you describe only make sense for a network mounted file system.

  • Comment on Re: A file revert back to its original contents

Replies are listed 'Best First'.
Re: Re: A file revert back to its original contents
by donno20 (Sexton) on Apr 11, 2003 at 04:41 UTC
    Hi Mark,
    The code do a mounting before open the file handle and unmount after close it.
    However it was not across network, just mount/unmount on local disk partition.

      This could happen if one of the scripts was mounting the filesystem correctly and the other wasn't, you have one version of the file in the directory the filesystem gets mounted on, and one on the filesystem itself, so if the filesystem is mounted, you get that one, otherwise you get the one that is normally 'underneath' the mounted filesystem. Umount it and look in the place where it was mounted to see if the file the other script is getting is there...


      We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found