What is the case for preserving case under Samba ...
Andrew Bartlett
abartlet at samba.org
Fri Jul 5 03:33:01 GMT 2002
Richard Sharpe wrote:
>
> Hi,
>
> The current situation with respect to preserve case = yes and case
> sensitive = no causes many problems.
>
> I recently ran a build of a lot of software under Windows that was mounted
> on a file server, and lots of really silly things happen. This software
> goes looking for include files in a list of directories, and every request
> to open a file that does not exist in a particular include directory, or
> one that is not the case that was first presented, causes Samba to do a
> readdir scan of the directory that the name was contained in. This can
> cause thousands to millions of scans :-(
>
> An altrnative might be to convert all names to the default case (preserve
> case = No) and then do case sensitive matches (case sensitive = yes).
>
> What is the down-side to this?
That files might not be created by samba, and might therefore not be in
the 'default' case.
You need a real case-insensitive filesystem.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list