bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mv can't change filename case on case-insensitive file systems


From: Eric Blake
Subject: Re: mv can't change filename case on case-insensitive file systems
Date: Thu, 16 Aug 2007 03:05:26 +0000

> 
> FAT is always upper case and the driver forces it to
> lower case.  VFAT ignores attempts to change case
> with rename(), in conformity to Posix.

You missed my earlier remark - since POSIX requires
case sensitivity, a case-insensitive file system is not
specified by POSIX, therefore, a platform may do
whatever it likes with rename(2), including change
the case (rather than be a no-op).  There _is_ no
conformity issue, once you use rename(2) on a
non-conformant file system; rather, it is just a
consistency issue.

My question, then, is whether it is likely that Linux will
be changed to take this attitude.  And now that we have
proven that current Linux behaves differently than current
cygwin, which behavior should mv(1) promote?  I would
argue that being able to change case is more useful,
particularly based on the volume of complaints of
people on case-insenstive systems who don't like the
current solution of using an intermediate name.

-- 
Eric Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]