[Dnsmasq-discuss] Update: Lowercase patch for 2.61rc2
rath at mglug.de
Fri Apr 20 08:20:44 BST 2012
Am 18.04.2012 17:31, schrieb Simon Kelley:
> [.. ]Dumb question: you're recommending using lowntfs-3g, but that has
> an "ignore-case" mount option. Doesn't that solve the problem without
> having to make changes to dnsmasq?
You are right, I could use this option for solving my problem if i could
use lowntfs as destination source for tftp-client-request.
But unfortunatly its not so easy:
My personal main focus for the --tftp-lowercase option was using it with
linux-ris (http://oss.netfarm.it/guides/ris-linux.php) BINL-services,
but I thought, this would be to special for writing it in the manpage.
I use lowntfs for _copying_ driver from a ntfs-source to my
driver-directory (i.e. ext4). Because I have lots of different sources
for driver files, there are different ways getting all files to lowercase.
The main problem of this sources is, that often filenames are used with
uppercase inside without need (probably for signing different version of
drivers without offering a version number), so getting this files via
tftp will fail. This i found on xp-cds, too.
So i created a pool with lots of drivers, all lowercase, so there is no
problem transferring it via tftp (of dnsmasq) using this option.
Now you can say: Ok, why you dont use a partition with the
ignore_case-Option holding all this drivers? This is right unless you
are working on embedded environment with low space. There it is much
smarter using the lowercase-option than creating an additional partition.
If you like, i can add some use cases like this to manpage, so people
could find it useful. But if you think, this shouldnt get into dnsmasq,
i have no problem with this because i can patch and compile dnsmasq for
myself. That is the fine thing of Open Source. :-)
For the tftp-code there are two open questions for me:
1. What happens, if there are "special" characters in the path (like
spaces, "&" oder ";")?
2. What will happen, if there are utf8 or utf16 charactars in the path
(will happen in non-latin environments)?
More information about the Dnsmasq-discuss