mounted directory repeating unexpected files and directories

Preston Kutzner shizzlecash at gmail.com
Thu Dec 18 22:11:14 UTC 2008


>
> smb: \> cd Madonna/Music
> smb: \Madonna\Music\> ls
>   .                                   D        0  Sun Sep 12  
> 20:03:15 2004
>   ..                                  D        0  Tue Apr 26  
> 10:14:22 2005
>   Gone.mp3                           AH  3345473  Tue Apr 11  
> 09:06:03 2006
>   Impressive Instant.mp3             AH  3483214  Tue May  3  
> 12:35:22 2005
>   Nobody's Perfect.mp3               AH  4814848  Tue May  3  
> 12:35:22 2005
>
>                 58437 blocks of size 16777216. 42128 blocks available
>
Here you're doing a listing of the contents of Madonna/Music

> noah at tsunami:~$ ls /mnt/mybook-music/Madonna/Music | wc -l
> 2273
> noah at tsunami:~$ ls /mnt/mybook-music/ | wc -l
> 2273
Not sure why you're getting the same number for both of these  
directories, that is interesting.

>
> noah at tsunami:~$ ls -ld /mnt/mybook-music/Madonna/Music
> drwxr-xr-x 2078 noah noah 0 2008-12-17 17:19 /mnt/mybook-music/ 
> Madonna/Music
> noah at tsunami:~$
Here you're having ls show you *only* the information for the  
directory you specify (in this case /mnt/mybook-music/Madonna/Music)   
the -d switch tells ls to show information about the directory itself,  
not its contents.  Try doing ls -l /mnt/mybook-music/Madonna/Music to  
get a list of what's *in* that directory.

>
>
>
>
>
>>
>> That way, you will know if there is something strange happening on  
>> the
>> samba server, or if this is all some strange kernel bug with a
>> subdirectory name that's the same as a share name (or the name of the
>> directory with is shared,, this is all so confusing)
>>
>>
>
>
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081218/877af29c/attachment.sig>


More information about the ubuntu-users mailing list