Jump to content
Compatible Support Forums
Sign in to follow this  
nk

smbfs missing directory entries

Recommended Posts

Hi!

 

I have a problem with WinNT/W2K shares mounted on Linux.

Kernel: 2.4.20

Samba: 3.0.0final-1 (Debian Woody)

 

Sequential "ls" returns different results for big directories.

MyLinux:~# ls /mnt/se/TEST/ -R |wc

10370 9934 133272

MyLinux:~# ls /mnt/se/TEST/ -R |wc

10351 9915 133025

MyLinux:~# ls /mnt/se/TEST/ -R |wc

10371 9935 133285

 

 

What can be wrong?

 

Thanks,

Nikolai

Share this post


Link to post

No, it seems "ls" sometimes retuns not all files, if directory has more then 1000 (?) entries. For "ls -R" it can be some subdirectory.

Share this post


Link to post

Very strange.

 

You could try to redirect the output of ls to a file, and compare the outputs with diff. Maybe you'll see where the difference lies...

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×