mv -f reliability
Say I have file ~/temp/a.txt and a file ~/final/a.txt and I overwrite the latter with the former by saying
mv -f ~/temp/a.txt ~/final/a.txt
Can i say with 100% certainty that when I read ~/final/a.txt it will always exists? Even during that nanno second that the move is doing it's thing?
Is there a C function that does the same thing with the same certainty?
|