I have a folder that I cannot delete, and some weird message from DiskUtility

Fahrvergnuugen

I am the law!
I have a folder in my trash on one of my drives called Junk1. I cannot delete this folder no matter what I do, if you don't believe me look at this:

Code:
[darklotus:/Users/reloaded] reloaded# whoami
root
[darklotus:/Users/reloaded] reloaded# cd /Volumes/Null/.Trashes/501/
[darklotus:Null/.Trashes/501] reloaded# ls -la
total 8
drwx------    4 reloaded unknown       136 Nov 12 15:38 .
d-wx-wx-wx    4 reloaded unknown       136 Aug 24 20:22 ..
-rwx------    1 reloaded unknown      6148 Nov 12 15:38 .DS_Store
drwxrwxrwx    9 reloaded admin         306 Nov  9 12:51 junk1
[darklotus:Null/.Trashes/501] reloaded# rm -r *
ctory
rm: junk1: Directory not empty
[darklotus:Null/.Trashes/501] reloaded# ls -la junk1
: No such file or directory

total 0
drwxrwxrwx    9 reloaded admin         306 Nov  9 12:51 .
drwx------    4 reloaded unknown       136 Nov 12 15:38 ..
[darklotus:Null/.Trashes/501] reloaded# rmdir junk1
rmdir: junk1: Directory not empty

I checked the disk using disk utility and this is what it says:

Code:
Repairing disk "Null".
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
[COLOR=red]Overlapped extent allocation (file 22327d)
Overlapped extent allocation (file 22328d)
Overlapped extent allocation (file 22328d)[/COLOR]
Checking Catalog hierarchy.
Checking volume bitmap.
Checking volume information.
Repairing volume.
Repair completed.

The "overlapped extent..." will not go away...the repair doesn't fix it.

Another very strange thing...if I do an ls -la in the folder, there are no files there...but the finder shows 7 files which I deleted using rm *.

Does anybody have any ideas? I really don't want to have to format this disk :(
 
also, look how weird the messages from the terminal are...that is a direct copy / paste from terminal.

it says no such file or directory when i did an ls -la junk1 and it threw a random "ctory"

i forgot to do an "ls" after i did the rm, but I assure you, the directory is still there :mad:
 
You'll need a real disk utility like Norton disk doctor or Tech Tool or something. Apple's Disk Utility seems to have the bare minimum of functionality, this is one of those places where it falls short.

Incidentally, an 'overlapped extent' means that the computer has stored the extents (also fragments, as in "defrag") from one file in the same place as the extents of another file. If you want the gory details, look here http://developer.apple.com/technotes/tn/tn1150.html or here http://developer.apple.com/techpubs/mac/Files/Files-99.html.
 
Back
Top