delete selected folder leaves empty dir on disk
Rob Siemborski
rjs3 at andrew.cmu.edu
Sat Jan 11 15:53:38 EST 2003
On Sat, 11 Jan 2003, Henrique de Moraes Holschuh wrote:
> There are two ways to fix this:
>
> 1) Don't cd to the directory (this fixes the EBUSY problem)
> 2) Put a tombstone there, and clean up the directory later.
>
(1) turns out to be better for Solaris (and fixes the EBUSY problem),
since while you can remove the directory with other processes in it, if
the system crashes you get some (basically bogus) fsck errors.
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list