If there is a solution at this stage, it would be great!ī - exit_code or return code of writing function $exit_code = write_key_file() I am not sure that this is a XY problem, but there are a few weakest points that can all be solutions. ![]() ![]() I do not intend to check every file like this, but there are a few key places where it is important to get the proper file status.ĭo we have better ways to force refresh nfs cache on a specific file on a specific directory? Thanks. Overheared solution that did not work: sleep(5) # wait 5 seconds Issue - this command in perl did not return correct status in NFS system: if( -e $file) The following checks cannot always return true when the file does exist The existence or absence of a file is the key for what to do next, but the checking is not always return the right result:Į.g I am doing this in perl, this still not working well, esp with mac machines write_key_file() # write a file that must be checked before proceeding When a file is created on a Linux NFS shared mount, the client is either Linux o r mac machines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |