For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > January 2005 > .nfsXXXX









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author .nfsXXXX
Thomas Rademacher

2005-01-24, 4:00 pm

Hello,

on an AIX 5.1 I make many file oparations in a directory 'mydir' with a
python script.
At the end of the script I want to remove all files in 'mydir' with the
python function os.remove().
In some runs I can not remove all files, because a file .nfsXXXX exists.

Why does a .nfsXXXX file exist?
How can I remove this file?

Thank you for your hints, Thomas




Paul Pluzhnikov

2005-01-24, 4:00 pm

"Thomas Rademacher" <rademacher@prostep.FTA-berlin.de> writes:

> Why does a .nfsXXXX file exist?


Such files are created when you unlink(2) an open file on NFS-mounted
filesystem.

> How can I remove this file?


Close your files before removing them.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com