[Samba] Samba opens many files.
Gerald (Jerry) Carter
jerry at samba.org
Thu Nov 20 16:05:25 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Markus Wenke wrote:
| If I change "case sensitive" to yes, this problem is
| fixed, but if I make in the windows-C-file a simple
| _findfirst() the same behavior appears.
| If I makt it to a Dir with 2 files, every file will be
| opened at least one time. Why opens samba this files? for
| only _findfirst() the files musn't be opened or?
| and if I make a tcpdump, I see that windows(the client)
| doesn't ask to open this files, there are only <50 packets
| for 16000 files.
Windows clients expect case insensitive semantics. So smbd
has to scan the directory to implement that. If you have
a case insensitive file system, then smbd wouldn't need to
do this for you.
- --
cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/vOZEIR7qMdg1EfYRApvzAJ9iogm3PZ/JlE0EBqW3YP/uGzW2SACfRmrm
G/xjxS0uoFN3RAYFId4Qgc4=
=0B35
-----END PGP SIGNATURE-----
More information about the samba
mailing list