Bug 1356 - inconsistant count of files and directories during recursion
Summary: inconsistant count of files and directories during recursion
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.2a
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-16 09:47 UTC by Brian
Modified: 2005-02-10 13:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2004-05-16 09:47:34 UTC
When parsing a listing of files and directories on a remote share (smb/ntfs5) on
windows xp pro I recieve inconsistant results (counts).  The share contains only
'normal' files no sim-links (shortcuts) or the like.   here is the procedure I
use to produce the error.  

smbclient -V
Version 3.0.2-7.FC1

mount -o username=user,password=pass,ro //desktop/mp3 /data/mp3/

cd /data/mp3

ls -aR | grep -c .
26702

ls -aR | grep -c .
26554

ls -aR | grep -c .
26702

ls -aR | grep -c .
26455

ls -aR | grep -c .
26455

ls -aR | grep -c .
26702

I realise that this is counting . and .. but that is irrelevant..   the count
should be the same every time.  This may not be a samba problem at all, but it's
worth looking into.   

Thanks and keep up the good work, 
Brian
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-10 13:35:59 UTC
actually this is an smbfs issue.  We don't maintain 
that kernel module.  You might however want to try the 
cifs fs module for the 2.6 kernel.

http://us1.samba.org/samba/Linux_CIFS_client.html