[linux-cifs-client] Re: du reports wrong directory sizes on kernel
2.6(.1rc2) and cifs 0.9.4
Mike
empx at gmx.de
Tue Jan 13 20:05:15 GMT 2004
Well, i'm using no mount options at all besides -t cifs/smbfs and -o
user=xxx,pass=yyy
I've used the version that came with samba, now i've also tried the
binary and the source one from the website, but all 3 behave in the same
way.
Are your shares on a WinXP box too?
Michael
Luis Claudio R. Goncalves wrote:
>Hi!
>
>Reading both traces, the only difference lies on the very end of both
>files, the write portion. Notice that not only the file sizes but also the
>file rights are different... and the one reported by cifs is a bit weird.
>
>
>http://empx.dyndns.org/strace_cifs.txt
>
>fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>0x401b0000
>write(1, " 17K -rwxrwSrwt 1 root ro"..., 101) = 101
>
>
>http://empx.dyndns.org/strace_smbfs.txt
>
>fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>0x401b0000
>write(1, "526K -rwxr--r-- 1 root ro"..., 101) = 101
>
>
>Mike, two questions: are you using the same mount options for both smbfs
>and cifs? Are you using the binary version of mount.cifs from the website
>or have you compiled it from the sources?
>
>[]'s
>Luis
>
>
More information about the linux-cifs-client
mailing list