David Masover wrote on Mon, 20 Dec 2004 23:31:53 -0600: > Would it work in a typical setup? My instinct is no.
Depends on how big the directory loop and attached files are (basically all the descendants of the directory you're trying to delete). In most cases, you don't have millions of directories in a loop. With millions of files, it might run out of RAM to keep track of locked inodes, making it impossible to delete a directory in a loop that somewhere has millions of files as descendants. The awkward user work-around would be to move the files somewhere else (files don't have descendants so that's feasible), delete the directory, then move them back. Of course, in a RAM disk, there can't be that many files :-) - Alex
