[SOLVED] What on earth has happened to my filesystem? :-\
Posted: Sat Jun 23, 2007 1:10 pm
I tried copying a directory on my Mac and it's all gone pear shaped. I seem to have a recursively nested directory.
The directory "Router" exists inside itself, then in that directory it's there again, and again, and again, and again....
WTF??
There's no symlink causing this as you can see from the ls command. There's no such thing as a "mount --bind" on a Mac neither. I'm baffled but this is annoying since I don't want to lose these files
It's a HFS+ filesystem if that's any help.
EDIT | Hold crap, it should only be about 100KB or something, but it's like 4.5MB.
feyd | trimmed down the repeat of "Router" in the paths
The directory "Router" exists inside itself, then in that directory it's there again, and again, and again, and again....
Code: Select all
chris-corbyns-computer:~/Sites d11wtq$ ls -la Router/
total 8
drwxr-xr-x 6 d11wtq d11wtq 204 Jun 23 18:54 .
drwxr-xr-x 53 d11wtq d11wtq 1802 Jun 23 19:07 ..
drwxr-xr-x 6 d11wtq d11wtq 204 Jun 23 18:54 Router
drwxr-xr-x 3 d11wtq d11wtq 102 Jun 22 21:57 lib
-rw-r--r-- 1 d11wtq d11wtq 109 Jun 23 15:42 routing.php
drwxr-xr-x 4 d11wtq d11wtq 136 Jun 22 20:57 test
chris-corbyns-computer:~/Sites d11wtq$ cp -r Router router2
cp: router2/Router/Router/.../Router/Router/Router/Router/lib/Request/Route/Strategy/20Collection.php: name too long (not copied)
cp: router2/Router/Router/.../Router/Router/Router/Router/lib/Request/Route/Strategy/30NamedIndex.php: name too long (not copied)
cp: router2/Router/Router/.../Router/Router/Router/Router/lib/Request/Router.php: name too long (not copied)
chris-corbyns-computer:~/Sites d11wtq$ ls -la Router/Router/Router/Router/Router/Router/Router/Router/Router/
total 0
drwxr-xr-x 4 d11wtq d11wtq 136 Jun 23 18:54 .
drwxr-xr-x 4 d11wtq d11wtq 136 Jun 23 18:54 ..
drwxr-xr-x 4 d11wtq d11wtq 136 Jun 23 18:54 Router
drwxr-xr-x 3 d11wtq d11wtq 102 Jun 23 18:54 lib
chris-corbyns-computer:~/Sites d11wtq$ There's no symlink causing this as you can see from the ls command. There's no such thing as a "mount --bind" on a Mac neither. I'm baffled but this is annoying since I don't want to lose these files
It's a HFS+ filesystem if that's any help.
EDIT | Hold crap, it should only be about 100KB or something, but it's like 4.5MB.
Code: Select all
chris-corbyns-computer:~/Sites d11wtq$ du -sh Router
4.5M Router
chris-corbyns-computer:~/Sites d11wtq$ watch du -s Router #Thankfully this isn't continually increasingfeyd | trimmed down the repeat of "Router" in the paths