On Wed, 11 Jan 2006, Ben Escoto wrote: > I'm not sure, why don't you add an endless loop, like ... > right before subdir.delete() in fs_abilities.py. Remember to intent > it just like the subdir.delete() line (in python, whitespace is > significant). > > Then run rdiff-backup again, and when it loops, find that > rdiff-backup.tmp.0 directory and try to remove it. You should get > that same error. Tell me which file(s) cause problems, and what's in > those files.
Ok, I added the endless loop, and looking in the rdiff-backup-data, I see this: --- > ls -lR .: total 4 drwxr-xr-x 1 cengiz users 4096 2006-01-11 18:45 rdiff-backup.tmp.0 ./rdiff-backup.tmp.0: total 4 -rwxr-xr-x 1 cengiz users 0 2006-01-11 17:59 hardlinked_file1 drwxr-xr-x 1 cengiz users 4096 2006-01-11 18:45 hl ./rdiff-backup.tmp.0/hl: total 0 > rm -r rdiff-backup.tmp.0 rm: cannot remove directory `rdiff-backup.tmp.0': Device or resource busy > ls -la rdiff-backup.tmp.0/ total 8 drwxr-xr-x 1 cengiz users 4096 2006-01-11 18:46 . drwxr-xr-x 1 cengiz users 4096 2006-01-11 18:45 .. --- As you can see, after I attempted deleting the .0 directory, the insides were wiped out. But it still didn't want to remove the directory itself. Is it possible the program is currently sitting in that directory and making it busy? Once I Ctrl-C rdiff-backup out of the loop, I am able to delete the directory. Cengiz Gunay -- [EMAIL PROTECTED] [EMAIL PROTECTED] (MSN) [EMAIL PROTECTED] Lab: +1-404-727-3565 Home/Cell: +1-678-559-8694 http://userwww.service.emory.edu/~cgunay/ IMs: ICQ# 21104923, [EMAIL PROTECTED],yahoo.com,Skype} -- _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
