<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>I'm sure that there are no processes using these files at the time the rm is happening. Actually the files (and directory) of concern are never actually used in my build process. They are script files that qa uses elsewhere. Just easier to do a cvs checkout of the whole tree. The one unique factor about the directory in question is that it has over 500 files. <br></span></div><div><br>Nice thought though. Thanks.<br> <br></div><div><span style="font-family:courier;">--- </span><br style="font-family:courier;"><span style="font-family:courier;">Wayne Johnson, | <span style="color:rgb(191, 95, 0);">There are two kinds of people: Those</span> </span><br style="font-family:courier;"><span
style="font-family:courier;">3943 Penn Ave. N. | <span style="color:rgb(191, 95, 0);">who say to God, "Thy will be done," </span></span><br style="font-family:courier;"><span style="font-family:courier;">Minneapolis, MN 55412-1908 | <span style="color:rgb(191, 95, 0);">and those to whom God says, "All right, </span></span><br style="font-family:courier;"><span style="font-family:courier;">(612) 522-7003 | <span style="color:rgb(191, 95, 0);">then, have it your way." --C.S. Lewis</span><br></span><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span
style="font-weight:bold;">From:</span></b> Jeremy Olexa <jolexa@jolexa.net><br><b><span style="font-weight: bold;">To:</span></b> TCLUG Mailing List <tclug-list@mn-linux.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October 25, 2011 9:08 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [tclug-list] rm -rf not deleting all the files on NFS<br></font><br>
On Tue, Oct 25, 2011 at 8:55 AM, Wayne Johnson <<a ymailto="mailto:wdtj@yahoo.com" href="mailto:wdtj@yahoo.com">wdtj@yahoo.com</a>> wrote:<br>> rm -r build/HEAD<br>> rm: cannot remove directory `build/HEAD/qa/testcapi/scripts': Directory not<br>> empty<br><br>> To get around this, I've doubled up the rm -rf command and this seems to<br>> work. The question I am having is why this is failing?<br><br>NFS uses lock files, so while a file is in use there is a .nfsXXXX<br>file sitting there. This explains why the double rm works. Check your<br>scripts and make sure you aren't reading from a file while trying to<br>remove it, etc. lsof and of course ls -a will help you find the<br>culprit. Hope that helps.<br>-Jeremy<br>_______________________________________________<br>TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br><a ymailto="mailto:tclug-list@mn-linux.org"
href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>http://mailman.mn-linux.org/mailman/listinfo/tclug-list<br><br><br></div></div></blockquote></div></div></body></html>