-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Francky Leyn on 6/24/2007 2:52 AM: > Dear, > > when I execute "mv webboy WebBoy", mv says that > the source directory is equal to the destination directory, > and refuses to execute the command. webboy and WebBoy > are not the same. Why is mv then refusing to execute?
This is a design feature of case-insensitive file systems. It is not coreutils' fault that the underlying OS refuses to do case-insensitive renames when the file system cannot tell the two spellings apart, rather, mv is merely reporting the results of its attempt to use the rename(2) syscall. On case-insensitive file systems, a case-changing rename requires a two-pass rename: mv webboy webboy1; mv webboy1 WebBoy - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGfnkN84KuGfSFAYARAsQtAKCgpcotFX0rLmGAKY+nDcd77Sbt3QCglwwL Iemp+kDRz2VOsEkz3TAsl7c= =SJmU -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
