nk 0 Posted October 13, 2003 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
gvissers 0 Posted October 15, 2003 Stupid question, maybe, but is something writing to that directory? Share this post Link to post
nk 0 Posted October 15, 2003 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
gvissers 0 Posted October 15, 2003 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