|
|
Log in / Subscribe / Register

Network filesystem topics

Network filesystem topics

Posted May 22, 2018 13:06 UTC (Tue) by epa (subscriber, #39769)
In reply to: Network filesystem topics by jra
Parent article: Network filesystem topics

I suppose you could do some hack like testing for this, THIS and This, before you fall back to reading the whole directory.


to post comments

Network filesystem topics

Posted May 22, 2018 15:39 UTC (Tue) by jra (subscriber, #55261) [Link]

That sounds like a good idea, but in fact just about all of the clients already do case-preserving correctly, so when we get a miss it's *extremely* likely that the file doesn't exist (and the client is just making sure that's so).

These code paths are already some of the most complex in Samba (getting the *absolutely* correct error message returns here is *essential* to make real applications work here) so I'm loathe to add any more complexity here.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds