Sunday, 2 June 2013

Linux shows several folders with the exact same name

Linux shows several folders with the exact same name

I recently used a mac to copy several files and folders to a USB drive (ext4 through ExtFS), and now in Linux (Xbian) two folders in the root of the drive are shown four times. The output of "ls -lQai" is:
total 2176
   2 drwxr-xr-x  9 root root      73728 Jun  3 01:32 "."
6533 drwxr-xr-x 10 root root       4096 Jun  2 01:41 ".."
  16 -rw-r--r--  1  501 dialout   21508 Jun  3 01:30 ".DS_Store"
  12 d-wx-wx-wt  2 root      99    4096 Jun  3 01:32 ".Trashes"
  17 -rw-r--r--  1   99      99    4096 Jun  2 02:17 "._.DS_Store"
  13 --w-------  1   99      99    4096 Jun  2 02:16 "._.Trashes"
2186 -rwxrwxrwx  1   99      99    4096 Jun  2 06:03 "._Videos"
  26 -rw-r--r--  1  501 dialout     308 Jun  2 02:43 ".apdisk"
 524 drwxr-xr-x  5  501 dialout    4096 Jun  3 01:22 "Photos"
 524 drwxr-xr-x  5  501 dialout    4096 Jun  3 01:22 "Photos"
 524 drwxr-xr-x  5  501 dialout    4096 Jun  3 01:22 "Photos"
 524 drwxr-xr-x  5  501 dialout    4096 Jun  3 01:22 "Photos"
  18 drwxrwxrwx  4  501 dialout    4096 Jun  3 01:27 "Videos"
 533 drwxr-xr-x  2  501 dialout    4096 Jun  3 01:30 "_meta"
 533 drwxr-xr-x  2  501 dialout    4096 Jun  3 01:30 "_meta"
 533 drwxr-xr-x  2  501 dialout    4096 Jun  3 01:30 "_meta"
 533 drwxr-xr-x  2  501 dialout    4096 Jun  3 01:30 "_meta"
 516 drwxr-xr-x  2  501 dialout 2043904 Jun  3 01:13 "_thumbs"
  11 drwx------  2 root root      16384 Jun  2 01:47 "lost+found"
2560 drwxr-xr-x  6  501 dialout    4096 Jun  3 01:31 "backup_2013-05-31"
The drive is working fine and the contents are ok, but it's really bugging me.

No comments:

Post a Comment