GNU bug report logs -
#55583
guix-daemon doesn't cleanly error-out on case-sensitive file systems.
Previous Next
Full log
View this message in rfc822 format
Maxime Devos <maximedevos <at> telenet.be> writes:
> Create a file /gnu/store/case-sensitivity-test (if it doesn't
> already
> exist). Open /gnu/store/CASE-SENSITIVITY-TEST. If it succeeds,
> you
> have a case-sensitive file system.
Hah. I was so wrapped up in thinking about kernel or POSIX APIs I
missed the obvious thing. ;)
/If/ we go this route, though, I’d suggest a small change to
handle so-called “mixed-case” file-systems, where you can have two
files differentiated by case, but if there’s no ambiguity, then
one may address a file using any case:
- echo lower-case > case-sensitivity-test
- echo UPPER-CASE > CASE-SENSITIVITY-TEST
- test x$(cat CASE-SENSITIVITY-TEST) = xUPPER-CASE
-bjc
This bug report was last modified 3 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.