<div dir="ltr">2017-09-21 17:58 GMT+02:00 Manfred Lotz <span dir="ltr"><<a href="mailto:manfred@dante.de" target="_blank">manfred@dante.de</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Nelson,<br>
Do you know if filesystems provide an API call to query their<br>
capabilities? I don't know of anything like this.<br></blockquote><div><br></div><div>I think that ioctl should do it but I have never tried. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-HOEnZb"><font color="#888888"><br>
-- Manfred<br></font></span></blockquote><div><br><br><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888">
</font></span><span class="gmail-im gmail-HOEnZb"><br>
On Thu, 21 Sep 2017 06:46:25 -0600<br>
"Nelson H. F. Beebe" <<a href="mailto:beebe@math.utah.edu">beebe@math.utah.edu</a>> wrote:<br>
<br>
</span><div class="gmail-HOEnZb"><div class="gmail-h5">> Manfred Lotz <<a href="mailto:manfred@dante.de">manfred@dante.de</a>> writes on Wed, 20 Sep 2017 20:48:37<br>
> +0200 about checking for a case-preserving filesystem:<br>
><br>
> >> ...<br>
> >> Is there time to check the case sensitivity of the filesystem by<br>
> >> running<br>
> >><br>
> >>    touch   some_weird_name<br>
> >>    touch   SOME_WEIRD_name<br>
> >> ...<br>
><br>
> Let us remember that such things are a property of the filesystem,<br>
> rather than the O/S.  Thus, such a check cannot be done at configure<br>
> time, but only at run time, and then only in the same filesystem where<br>
> the question needs to be answered.  However, the touch command will<br>
> fail if that filesystem is mounted read-only.<br>
><br>
> At our large site (18K+ users), for performance reasons, our<br>
> thin-client servers get read-only nightly copies of much shared<br>
> software in local directory trees.  On other systems, ZFS snapshots<br>
> may be distributed to secondary and tertiary servers, and then<br>
> NFS-mounted from there by client machines: they too, being snapshots,<br>
> are read-only.<br>
><br>
> Thus, the problem of single-case vs case-insensitive vs<br>
> case-insensitive + case-preserving vs case sensitive filesystem<br>
> variants is not easy to deal with automatically by tools like tlmgr<br>
> and TeX input commands.<br>
><br>
> When I find filename lettercase conflicts in user (La)TeX files, I<br>
> point out to them the necessity of consistent filenaming conventions,<br>
> the easiest to remember being to downcase everything, except for two<br>
> files: Makefile and README.  I also point out that spaces, and<br>
> punctuation other than a single dot, should be avoided in filenames,<br>
> and that while modern systems handle Unicode characters above the<br>
> ASCII limit of U+007F, older ones, and many software tools, do not.<br>
> Then there is the issue of filename length issues as well, 8 + 3, 31,<br>
> 63, 127, 255, ...  What a mess.<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>-------------------<br>
> - Nelson H. F. Beebe                    Tel: +1 801 581<br>
> 5254                  -<br>
> - University of Utah                    FAX: +1 801 581<br>
> 4148                  -<br>
> - Department of Mathematics, 110 LCB    Internet e-mail:<br>
> <a href="mailto:beebe@math.utah.edu">beebe@math.utah.edu</a>  -<br>
> - 155 S 1400 E RM 233                       <a href="mailto:beebe@acm.org">beebe@acm.org</a><br>
> <a href="mailto:beebe@computer.org">beebe@computer.org</a> -<br>
> - Salt Lake City, UT 84112-0090, USA    URL:<br>
> <a href="http://www.math.utah.edu/%7Ebeebe/" rel="noreferrer" target="_blank">http://www.math.utah.edu/~<wbr>beebe/</a> -<br>
> ------------------------------<wbr>------------------------------<wbr>-------------------<br>
<br>
</div></div></blockquote></div><br></div></div>