Re: mv can't change filename case on case-insensitive file systems
From:
John Cowan
Subject:
Re: mv can't change filename case on case-insensitive file systems
Date:
Thu, 16 Aug 2007 14:58:22 -0400
User-agent:
Mutt/1.5.13 (2006-08-11)
Eric Blake scripsit:
> 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).
Well and good. In fact, however, both Cygwin and the Linux VFAT driver
do treat rename("Foo", "foo") as a no-op.
> And now that we have proven that current Linux behaves differently
> than current cygwin,
We have?
> 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.
+1
--
All Norstrilians knew what laughter was: John Cowan
it was "pleasurable corrigible malfunction". address@hidden
--Cordwainer Smith, Norstrilia