Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20020503090922.01f7c608@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Fri, 03 May 2002 09:20:45 -0700 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: mv problem Cc: spetreolle AT yahoo DOT fr In-Reply-To: <20020503061657.92083.qmail@web10102.mail.yahoo.com> References: <4 DOT 3 DOT 1 DOT 2 DOT 20020502104654 DOT 0246ccb8 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_35925359==_" --=====================_35925359==_ Content-Type: text/plain; charset="us-ascii"; format=flowed 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). --=====================_35925359==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="cygcheck-s-out" 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 --=====================_35925359==_ Content-Type: text/plain; charset=us-ascii -- 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/ --=====================_35925359==_--