* mv problem @ 2002-05-02 6:22 Sylvain Petreolle 2002-05-02 7:54 ` Larry Hall (RFK Partners, Inc) 0 siblings, 1 reply; 9+ messages in thread From: Sylvain Petreolle @ 2002-05-02 6:22 UTC (permalink / raw) To: cygwin; +Cc: spetreolle Hi all, I got a problem when running mv : i have the directory abc and want to rename it as Abc (or something that changes the capitalisation only). I get the following result : $ mv abc Abc mv: cannot create directory `Abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc /abc/abc/abc/abc/abc': Invalid argument ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-02 6:22 mv problem Sylvain Petreolle @ 2002-05-02 7:54 ` Larry Hall (RFK Partners, Inc) 2002-05-02 23:17 ` Sylvain Petreolle 2002-05-03 5:58 ` Jason Tishler 0 siblings, 2 replies; 9+ messages in thread From: Larry Hall (RFK Partners, Inc) @ 2002-05-02 7:54 UTC (permalink / raw) To: Sylvain Petreolle, cygwin; +Cc: spetreolle At 09:22 AM 5/2/2002, Sylvain Petreolle wrote: >Hi all, > >I got a problem when running mv : > >i have the directory abc and want to rename >it as Abc (or something that changes the >capitalisation only). > >I get the following result : > >$ mv abc Abc >mv: cannot create directory >`Abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc/abc >/abc/abc/abc/abc/abc': Invalid argument Hm, I don't see that here: #mv abc Abc mv: cannot move `abc' to a subdirectory of itself, `Abc/abc' What version of Cygwin and mv are you using? What does the directory structure of "abc" look like? As you can see, you cannot rename file differing only by case. This is a Windowsism. Sorry. Complain to Bill if you don't like it! ;-) You'll need to do this as a two step process (i.e. move 'abc' to a different name temporarily and then move it to 'Abc'). I can't say why you got the result you did however. Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-02 7:54 ` Larry Hall (RFK Partners, Inc) @ 2002-05-02 23:17 ` Sylvain Petreolle 2002-05-03 8:46 ` Larry Hall (RFK Partners, Inc) 2002-05-03 9:21 ` Randall R Schulz 2002-05-03 5:58 ` Jason Tishler 1 sibling, 2 replies; 9+ messages in thread From: Sylvain Petreolle @ 2002-05-02 23:17 UTC (permalink / raw) To: Larry Hall (RFK Partners, Inc), cygwin; +Cc: spetreolle > Hm, I don't see that here: > > #mv abc Abc > mv: cannot move `abc' to a subdirectory of itself, > `Abc/abc' > > What version of Cygwin and mv are you using? What > does the directory > structure of "abc" look like? > > As you can see, you cannot rename file differing > only by case. This is a > Windowsism. Sorry. Complain to Bill if you don't > like it! ;-) You'll > need to do this as a two step process (i.e. move > 'abc' to a different name > temporarily and then move it to 'Abc'). I can't say > why you got the result > you did however. > Hi, I'm using cygwin version 1.3.10 with all updated packages. mv --version reports : mv (fileutils) 4.1 (cygcheck reports exactly fileutils 4.1-1) This is reproductible with every directory. Steps I follow : mkdir mydir mv mydir MyDir (or Mydir, mydiR). ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-02 23:17 ` Sylvain Petreolle @ 2002-05-03 8:46 ` Larry Hall (RFK Partners, Inc) 2002-05-03 9:21 ` Randall R Schulz 1 sibling, 0 replies; 9+ messages in thread From: Larry Hall (RFK Partners, Inc) @ 2002-05-03 8:46 UTC (permalink / raw) To: Sylvain Petreolle, cygwin; +Cc: spetreolle At 02:16 AM 5/3/2002, Sylvain Petreolle wrote: > > Hm, I don't see that here: > > > > #mv abc Abc > > mv: cannot move `abc' to a subdirectory of itself, > > `Abc/abc' > > > > What version of Cygwin and mv are you using? What > > does the directory > > structure of "abc" look like? > > > > As you can see, you cannot rename file differing > > only by case. This is a > > Windowsism. Sorry. Complain to Bill if you don't > > like it! ;-) You'll > > need to do this as a two step process (i.e. move > > 'abc' to a different name > > temporarily and then move it to 'Abc'). I can't say > > why you got the result > > you did however. > > > >Hi, >I'm using cygwin version 1.3.10 with all updated >packages. > >mv --version reports : mv (fileutils) 4.1 >(cygcheck reports exactly fileutils 4.1-1) >This is reproductible with every directory. > >Steps I follow : >mkdir mydir >mv mydir MyDir (or Mydir, mydiR). OK, looks like we're in sync. I'm using the same versions of mv and the Cygwin DLL. Maybe you're seeing a permissions problem or an inode hash problem (see the list archives from this week). I'm not sure. I've tried this on both NTFS and FAT partitions so that's not the issue. Looks like it may take some debugging on your end to figure this out. Have you tried strace and/or gdb? Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-02 23:17 ` Sylvain Petreolle 2002-05-03 8:46 ` Larry Hall (RFK Partners, Inc) @ 2002-05-03 9:21 ` Randall R Schulz 2002-05-03 9:29 ` Larry Hall (RFK Partners, Inc) 1 sibling, 1 reply; 9+ messages in thread From: Randall R Schulz @ 2002-05-03 9:21 UTC (permalink / raw) To: cygwin; +Cc: spetreolle [-- Attachment #1: Type: text/plain, Size: 3020 bytes --] Hi, I had to try this out to see how my system behaved. I saw something very interesting: % mkdir yad % mv yad YaD mv: cannot copy a directory, `yad', into itself, `YaD/yad' % find yad yad yad/yad % ll -id YaD 66306041 drwxr-xr-x 3 RSchulz None 0 May 3 09:08 YaD/ % ll -Ri yad yad: total 0 163374368 drwxr-xr-x 2 RSchulz None 0 May 3 09:08 yad/ yad/yad: total 0 I get the same behavior, modulo "inode" numbers on an NTFS and a FAT volume. Miscellaneous system information: % uname -a CYGWIN_NT-5.0 CLEMENS 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown % mv --version mv (fileutils) 4.1 Written by Mike Parker, David MacKenzie, and Jim Meyering. Copyright (C) 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. "Cygcheck -s" output is attached. Excerpts here: ... Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 ... SysDir: D:\WINNT\System32 WinDir: D:\WINNT CYGWIN = `binmode ntsec' ... a: fd N/A N/A c: hd NTFS 10001Mb 38% CP CS UN PA FC WIN2K d: hd NTFS 11664Mb 50% CP CS UN PA FC Win2K2niW e: hd NTFS 4027Mb 94% CP CS UN PA FC Stash f: cd N/A N/A g: cd CDFS 647Mb 100% CS UN BOOKSHELF2K h: hd FAT32 649Mb 1% CP UN BURNME \\.\A: /dev/fd0 user binmode . /cygdrive user binmode,noumount D:/cygwin / system binmode D:/cygwin/bin /usr/bin system binmode D:/cygwin/lib /usr/lib system binmode Found: D:\cygwin\bin\bash.exe Found: D:\cygwin\bin\cat.exe Found: D:\cygwin\bin\cpp.exe Found: D:\cygwin\bin\find.exe Found: D:\cygwin\bin\gcc.exe Found: D:\cygwin\bin\gdb.exe Found: D:\cygwin\bin\ld.exe Found: D:\cygwin\bin\ls.exe Found: D:\cygwin\bin\make.exe Found: D:\cygwin\bin\sh.exe ... Cygwin DLL version info: DLL version: 1.3.10 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 51 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Feb 25 11:14:34 EST 2002 Shared id: cygwin1S3 ... fileutils 4.1-1 ... -- Randall Schulz Mountain View, CA USA At 23:16 2002-05-02, Sylvain Petreolle wrote: >Hi, > >I'm using cygwin version 1.3.10 with all updated packages. > >mv --version reports : mv (fileutils) 4.1 >(cygcheck reports exactly fileutils 4.1-1) >This is reproductible with every directory. > >Steps I follow : > >mkdir mydir >mv mydir MyDir (or Mydir, mydiR). [-- Attachment #2: cygcheck-s-out --] [-- Type: text/plain, Size: 10233 bytes --] Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri May 03 09:15:05 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path: . D:\cygwin\home\RSchulz\bin D:\cygwin\usr\sbin D:\cygwin\usr\X11R6\bin c:\j2sdk1.4.0\bin D:\cygwin\usr\local\bin D:\cygwin\bin D:\cygwin\bin d:\Apps\texmf\miktex\bin d:\Perl\bin\ d:\Tcl\bin\ d:\WINNT\system32 d:\WINNT d:\WINNT\system32\WBEM d:\Apps\XEmacs\XEmacs-21.1.14\i586-pc-win32 d:\Apps\GNUEmacs\emacs-20.7\bin D:\cygwin\bin D:\cygwin\usr\X11R6\bin . d:\WN16\BIN SysDir: D:\WINNT\System32 WinDir: D:\WINNT CYGWIN = `binmode ntsec' HOME = `D:\cygwin\home\RSchulz' MAKE_MODE = `unix' PWD = `/h' TCL_LIBRARY = `D:\WN16\LIB\TCL7.6' USER = `RSchulz' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 10001Mb 38% CP CS UN PA FC WIN2K d: hd NTFS 11664Mb 50% CP CS UN PA FC Win2K2niW e: hd NTFS 4027Mb 94% CP CS UN PA FC Stash f: cd N/A N/A g: cd CDFS 647Mb 100% CS UN BOOKSHELF2K h: hd FAT32 649Mb 1% CP UN BURNME \\.\A: /dev/fd0 user binmode . /cygdrive user binmode,noumount D:/cygwin / system binmode D:/cygwin/bin /usr/bin system binmode D:/cygwin/lib /usr/lib system binmode Found: D:\cygwin\bin\bash.exe Found: D:\cygwin\bin\cat.exe Found: D:\cygwin\bin\cpp.exe Found: D:\cygwin\bin\find.exe Found: D:\cygwin\bin\gcc.exe Found: D:\cygwin\bin\gdb.exe Found: D:\cygwin\bin\ld.exe Found: D:\cygwin\bin\ls.exe Found: D:\cygwin\bin\make.exe Found: D:\cygwin\bin\sh.exe 54k 2002/01/27 D:\cygwin\bin\cygbz21.0.dll 621k 2002/01/16 D:\cygwin\bin\cygcrypto.dll 108k 2002/04/15 D:\cygwin\bin\cygcurl-2.dll 50k 2002/03/17 D:\cygwin\bin\cygexslt-0.dll 45k 2001/04/25 D:\cygwin\bin\cygform5.dll 35k 2002/01/09 D:\cygwin\bin\cygform6.dll 19k 2002/02/20 D:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll 20k 2002/01/13 D:\cygwin\bin\cyghistory5.dll 306k 2002/04/27 D:\cygwin\bin\cyghttpd.dll 22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll 21k 2001/06/20 D:\cygwin\bin\cygintl.dll 81k 2000/12/05 D:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 D:\cygwin\bin\cygitk30.dll 45k 2002/02/08 D:\cygwin\bin\cygjbig1.dll 119k 2002/02/09 D:\cygwin\bin\cygjpeg6b.dll 25k 2002/03/17 D:\cygwin\bin\cygltdl-3.dll 26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll 40k 2001/11/21 D:\cygwin\bin\cygpcre.dll 39k 2001/11/21 D:\cygwin\bin\cygpcreposix.dll 171k 2002/04/19 D:\cygwin\bin\cygpng10.dll 170k 2002/01/21 D:\cygwin\bin\cygpng2.dll 108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll 121k 2002/01/13 D:\cygwin\bin\cygreadline5.dll 66k 2001/11/20 D:\cygwin\bin\cygregex.dll 156k 2002/01/16 D:\cygwin\bin\cygssl.dll 390k 2000/12/05 D:\cygwin\bin\cygtcl80.dll 5k 2000/12/05 D:\cygwin\bin\cygtclpip80.dll 10k 2000/12/05 D:\cygwin\bin\cygtclreg80.dll 253k 2002/02/10 D:\cygwin\bin\cygtiff3.dll 623k 2000/12/05 D:\cygwin\bin\cygtk80.dll 1248k 2002/03/17 D:\cygwin\bin\cygxml2-2.dll 41k 2002/01/20 D:\cygwin\bin\cygXpm-noX4.dll 46k 2002/01/20 D:\cygwin\bin\cygXpm-X4.dll 152k 2002/03/17 D:\cygwin\bin\cygxslt-1.dll 15k 2002/03/17 D:\cygwin\bin\cygxsltbreakpoint-1.dll 50k 2002/03/12 D:\cygwin\bin\cygz.dll 751k 2002/02/25 D:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.10 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 51 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Feb 25 11:14:34 EST 2002 Shared id: cygwin1S3 Cygwin Package Information Package Version apache 1.3.24-3 ash 20020131-1 autoconf 2.53-1 autoconf-devel 2.53-1 autoconf-stable 2.13-4 automake 1.6a-1 automake-devel 1.6-1 automake-stable 1.4p5-5 bash 2.05a-3 bc 1.06-1 binutils 20011002-1 bison 1.35-1 byacc 1.9-1 bzip2 1.0.2-1 clear 1.0-1 compface 1.4-5 cpio 2.4.2 cron 3.0.1-6 crypt 1.0-1 ctags 5.2-1 curl 7.9.6-1 cvs 1.11.0-1 cygrunsrv 0.95-1 cygutils 1.0.0-1 cygwin 1.3.10-1 cygwin-doc 1.0-1 dejagnu 20010117-1 diff 0.0 ed 0.2-1 enscript 1.6.3-2 expect 20010117-1 figlet 2.2-1 file 3.37-1 fileutils 4.1-1 findutils 4.1 flex 2.5.4-1 fortune 1.8-2 gawk 3.0.4-1 gcc 2.95.3-5 gdb 20010428-3 gdbm 1.8.0-4 gettext 0.10.40-1 ghostscript 6.51-4 gnugo 3.2-1 gperf 0.0 grep 2.5-1 groff 1.17.2-1 gzip 1.3.2-1 indent 2.2.7-2 inetutils 1.3.2-17 irc 20010101-1 jbigkit 1.2-6 jpeg 6b-7 keychain 1.8-1 less 374-1 libbz2_0 1.0.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libpng 1.0.13-1 libpng10 1.0.13-1 libpng10-devel 1.0.13-1 libpng2 1.0.12-1 libreadline4 4.1-2 libreadline5 4.2a-1 libtool 20020202a-1 libtool-devel 20020316-1 libtool-stable 1.4.2-2 libxml2 2.4.17-1 libxslt 1.0.13-1 links 0.96-1 login 1.4-3 lynx 2.8.4-1 m4 0.0 make 3.79.1-5 man 1.5g-2 mingw 20010917-1 mingw-runtime 1.3-2 mktemp 1.4-1 more 2.11o-1 mt 2.0.1-1 mutt 1.2.5i-6 nano 1.0.7-1 ncftp 3.1.3-1 ncurses 5.2-8 newlib-man 20001118-1 opengl 1.1.0-6 openssh 3.1p1-1 openssl 0.9.6c-3 openssl-devel 0.9.6c-2 patch 2.5-3 pcre 3.7-1 perl 5.6.1-2 pine 4.44-1 pkgconfig 0.12.0-1 popt 1.6.2-1 postgresql 7.2.1-1 python 2.2-1 rcs 5.7-3 readline 4.2a-1 regex 4.4-2 robots 2.0-1 rsync 2.5.5-1 rxvt 2.7.2-10 sed 3.02-1 sh-utils 2.0-2 sharutils 4.2.1-2 shutdown 1.2-2 squid 2.4-STABLE20010508 ssmtp 2.38.7-3 swig 1.3.11-1 tar 1.13.19-1 tcltk 20001125-1 tcsh 6.11.00-4 termcap 20020403-1 terminfo 5.2-1 tetex-beta 20001218-4 texinfo 4.1-1 texmf 20000804-2 texmf-base 20000804-2 texmf-doc 20000804-2 texmf-extra 20000804-2 texmf-tiny 20000804-2 textutils 2.0.21-1 tiff 3.5.7-1 time 1.7-1 ttcp 19980512-1 ucl 1.01-1 units 1.77-1 unzip 5.41-1 upx 1.20-1 vim 6.1-2 w32api 1.3-2 wget 1.8.1-1 which 1.5-1 whois 4.5.17-1 xpm-nox 4.2.0-1 zip 2.3-1 zlib 1.1.4-1 Use -h to see help about each section [-- Attachment #3: Type: text/plain, Size: 214 bytes --] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-03 9:21 ` Randall R Schulz @ 2002-05-03 9:29 ` Larry Hall (RFK Partners, Inc) 0 siblings, 0 replies; 9+ messages in thread From: Larry Hall (RFK Partners, Inc) @ 2002-05-03 9:29 UTC (permalink / raw) To: Randall R Schulz, cygwin; +Cc: spetreolle Good point! I looked at this after receiving your mail and I see the same thing. So the error you and I see is incorrect. I wonder if it's related to the inode hash problem reported and patched earlier this week... Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 12:20 PM 5/3/2002, Randall R Schulz wrote: >Hi, > >I had to try this out to see how my system behaved. I saw something very interesting: > > >% mkdir yad >% mv yad YaD >mv: cannot copy a directory, `yad', into itself, `YaD/yad' > >% find yad >yad >yad/yad > >% ll -id YaD >66306041 drwxr-xr-x 3 RSchulz None 0 May 3 09:08 YaD/ > >% ll -Ri yad >yad: >total 0 >163374368 drwxr-xr-x 2 RSchulz None 0 May 3 09:08 yad/ > >yad/yad: >total 0 > > >I get the same behavior, modulo "inode" numbers on an NTFS and a FAT volume. > > >Miscellaneous system information: > >% uname -a >CYGWIN_NT-5.0 CLEMENS 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown > >% mv --version >mv (fileutils) 4.1 >Written by Mike Parker, David MacKenzie, and Jim Meyering. > >Copyright (C) 2001 Free Software Foundation, Inc. >This is free software; see the source for copying conditions. There is NO >warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > >"Cygcheck -s" output is attached. Excerpts here: > >... > >Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 > >... > >SysDir: D:\WINNT\System32 >WinDir: D:\WINNT > >CYGWIN = `binmode ntsec' > >... > >a: fd N/A N/A >c: hd NTFS 10001Mb 38% CP CS UN PA FC WIN2K >d: hd NTFS 11664Mb 50% CP CS UN PA FC Win2K2niW >e: hd NTFS 4027Mb 94% CP CS UN PA FC Stash >f: cd N/A N/A >g: cd CDFS 647Mb 100% CS UN BOOKSHELF2K >h: hd FAT32 649Mb 1% CP UN BURNME > >\\.\A: /dev/fd0 user binmode >. /cygdrive user binmode,noumount >D:/cygwin / system binmode >D:/cygwin/bin /usr/bin system binmode >D:/cygwin/lib /usr/lib system binmode > >Found: D:\cygwin\bin\bash.exe >Found: D:\cygwin\bin\cat.exe >Found: D:\cygwin\bin\cpp.exe >Found: D:\cygwin\bin\find.exe >Found: D:\cygwin\bin\gcc.exe >Found: D:\cygwin\bin\gdb.exe >Found: D:\cygwin\bin\ld.exe >Found: D:\cygwin\bin\ls.exe >Found: D:\cygwin\bin\make.exe >Found: D:\cygwin\bin\sh.exe > >... > > Cygwin DLL version info: > DLL version: 1.3.10 > DLL epoch: 19 > DLL bad signal mask: 19005 > DLL old termios: 5 > DLL malloc env: 28 > API major: 0 > API minor: 51 > Shared data: 3 > DLL identifier: cygwin1 > Mount registry: 2 > Cygnus registry name: Cygnus Solutions > Cygwin registry name: Cygwin > Program options name: Program Options > Cygwin mount registry name: mounts v2 > Cygdrive flags: cygdrive flags > Cygdrive prefix: cygdrive prefix > Cygdrive default prefix: > Build date: Mon Feb 25 11:14:34 EST 2002 > Shared id: cygwin1S3 > >... > >fileutils 4.1-1 > >... > > > >-- >Randall Schulz >Mountain View, CA USA > > >At 23:16 2002-05-02, Sylvain Petreolle wrote: > >>Hi, >> >>I'm using cygwin version 1.3.10 with all updated packages. >> >>mv --version reports : mv (fileutils) 4.1 >>(cygcheck reports exactly fileutils 4.1-1) >>This is reproductible with every directory. >> >>Steps I follow : >> >>mkdir mydir >>mv mydir MyDir (or Mydir, mydiR). > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-02 7:54 ` Larry Hall (RFK Partners, Inc) 2002-05-02 23:17 ` Sylvain Petreolle @ 2002-05-03 5:58 ` Jason Tishler 2002-05-03 8:53 ` Larry Hall (RFK Partners, Inc) 1 sibling, 1 reply; 9+ messages in thread From: Jason Tishler @ 2002-05-03 5:58 UTC (permalink / raw) To: cygwin Larry, On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall (RFK Partners, Inc) wrote: > As you can see, you cannot rename file differing only by case. This is a > Windowsism. Sorry. Complain to Bill if you don't like it! ;-) You'll > need to do this as a two step process (i.e. move 'abc' to a different name > temporarily and then move it to 'Abc'). The above is not true: C:\>dir [snip] 05/03/2002 08:48a <DIR> bar 05/03/2002 08:47a 0 foo ... C:\>ren bar BAR ren bar BAR C:\>ren foo FOO ren foo FOO C:\>dir [snip] 05/03/2002 08:48a <DIR> BAR 05/03/2002 08:47a 0 FOO Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-03 5:58 ` Jason Tishler @ 2002-05-03 8:53 ` Larry Hall (RFK Partners, Inc) 2002-05-03 9:08 ` Jason Tishler 0 siblings, 1 reply; 9+ messages in thread From: Larry Hall (RFK Partners, Inc) @ 2002-05-03 8:53 UTC (permalink / raw) To: Jason Tishler, cygwin At 09:05 AM 5/3/2002, Jason Tishler wrote: >Larry, > >On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall (RFK Partners, Inc) wrote: > > As you can see, you cannot rename file differing only by case. This is a > > Windowsism. Sorry. Complain to Bill if you don't like it! ;-) You'll > > need to do this as a two step process (i.e. move 'abc' to a different name > > temporarily and then move it to 'Abc'). > >The above is not true: > > C:\>dir > [snip] > 05/03/2002 08:48a <DIR> bar > 05/03/2002 08:47a 0 foo > ... > > C:\>ren bar BAR > ren bar BAR > > C:\>ren foo FOO > ren foo FOO > > C:\>dir > [snip] > 05/03/2002 08:48a <DIR> BAR > 05/03/2002 08:47a 0 FOO Well, if you mean that the issue is not, strictly speaking, a Windows issue, there's some validity to that statement. Given all the history of "mv" functionality, I personally hesitate to suggest that there's a patch to "mv" that will make this possible without breaking something else that's important for "mv" in Cygwin/Windows (though I don't discourage others from trying if they are so inclined). It is Windows, in general, that enforces case-insensitivity of it's file systems though, which doesn't help. Of course, you've also pointed out that there is an alternative to "mv" in "DOS-land" that allows this operation to be done in one step, for those that prefer such a thing! ;-) Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mv problem 2002-05-03 8:53 ` Larry Hall (RFK Partners, Inc) @ 2002-05-03 9:08 ` Jason Tishler 0 siblings, 0 replies; 9+ messages in thread From: Jason Tishler @ 2002-05-03 9:08 UTC (permalink / raw) To: cygwin Larry, On Fri, May 03, 2002 at 11:51:41AM -0400, Larry Hall (RFK Partners, Inc) wrote: > At 09:05 AM 5/3/2002, Jason Tishler wrote: > >On Thu, May 02, 2002 at 10:51:45AM -0400, Larry Hall wrote: > > > As you can see, you cannot rename file differing only by case. This is a ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > Windowsism. Sorry. Complain to Bill if you don't like it! ;-) You'll ^^^^^^^^^^ > > > need to do this as a two step process (i.e. move 'abc' to a different name > > > temporarily and then move it to 'Abc'). > > > >The above is not true: > > > > [snip] > > Well, if you mean that the issue is not, strictly speaking, a Windows issue, > there's some validity to that statement. > [snip] I was just trying to keep the facts accurate for the archives. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-05-03 16:29 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-05-02 6:22 mv problem Sylvain Petreolle 2002-05-02 7:54 ` Larry Hall (RFK Partners, Inc) 2002-05-02 23:17 ` Sylvain Petreolle 2002-05-03 8:46 ` Larry Hall (RFK Partners, Inc) 2002-05-03 9:21 ` Randall R Schulz 2002-05-03 9:29 ` Larry Hall (RFK Partners, Inc) 2002-05-03 5:58 ` Jason Tishler 2002-05-03 8:53 ` Larry Hall (RFK Partners, Inc) 2002-05-03 9:08 ` Jason Tishler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).