mounted directory repeating unexpected files and directories

Noah admin2 at enabled.com
Thu Dec 18 22:43:51 UTC 2008


Preston Kutzner wrote:
>>
>> 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
> 


yup



>> noah at tsunami:~$ ls /mnt/mybook-music/Madonna/Music | wc -l
>> 2273


yuppers on the sambaserver client directory I dont see 4 files in the 
directory but I see the same 2273 files that I see in /mnt/mybook-music 
and there is no sym link between /mnt/mybook-music/Madonna/Music and 
mnt/mybook-music

and there is no sym link on the server side either.



>> 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.


yuppers - that is the original reason for this thread


> 
>>
>> 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.


yup I am showing the directory is not a sym link as previously suggested 
in this thread.  there is no sym link on the client and/or the server 
file.  there are 2273 files on the sambaserver client side and I am not 
listing them.  I will suppy the 'wc -l' to get the point across as seen 
above.

after your post it feels appropriate to repost all the data again in a 
new thread.

Cheers,

Noah



> 
>>
>>
>>
>>
>>
>>>
>>> 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
> 





More information about the ubuntu-users mailing list