This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
RE: New rename(2) function
On 10 August 2007 04:23, Eric Blake wrote:
> According to Christian Franke on 8/9/2007 10:38 AM:
>> Probably, a case insensitive filesystem is not POSIX compliant at all ;-)
>
> You got that right. A true POSIX file system must be case sensitive,
> supporting all 254 (exluding NUL and /) bytes. However, POSIX is also
> clear that not all file systems meet POSIX rules, so portable names are
> limited to a-zA-Z0-9_.-. I think you are correct that since having "A"
> and "a" map to the same file id with only a link count of 1 already
> violates POSIX,
Hey, I've had a really stupid idea! Let's artificially boost the link count
of all files by 2**strlen(filename filtered by isalpha) and just pretend that
whenever you create a file, it automagically appears with every case-variant
of the name as a hardlink!
cheers,
DaveK
--
Can't think of a witty .sigline today....