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 From: "Hannu E K Nevalainen \(garbage mail\)" To: "ML CygWIN" Subject: [OT?] Strange filesystem behaviour Date: Fri, 30 May 2003 23:25:04 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Is there someone out there who can explain this... is it plain legacy? If there is no better explanation, lets just have it added to the archives. I bumped into this while moving files between OS'es... using tar. In fact tar has more restrictions on filenames, making me wonder whether all really are necessary. (WinRAR extracted more files than tar) FAT, FAT32 and NTFS (W2K tested) doesn't matter - not even using explorer[1], so it is the OS filesystem(s?) doing this, not cygwin. $ uname -a CYGWIN_NT-5.0 P450 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin $ cat ~/TEST mkdir zz cd zz mkdir x x. x.. x... ls -ld x* mkdir 'y' 'y.' 'y..' 'y...' ls -ld y* mkdir 'z' 'z\056' 'z\056\056' 'z\056\056\056' ls -ld z* mkdir a a.a a..a a...a ls -ld a* cd .. rm -rf zz #NTFS $ source ~/TEST mkdir: cannot create directory `x.': File exists mkdir: cannot create directory `x..': File exists mkdir: cannot create directory `x...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 x/ mkdir: cannot create directory `y.': File exists mkdir: cannot create directory `y..': File exists mkdir: cannot create directory `y...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 y/ drwxr-xr-x 3 Hannu 0 May 30 2003 z/ drwxr-xr-x 2 Hannu 0 May 30 2003 a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a...a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a..a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a.a/ #FAT32 $ source ~/TEST mkdir: cannot create directory `x.': File exists mkdir: cannot create directory `x..': File exists mkdir: cannot create directory `x...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 x/ mkdir: cannot create directory `y.': File exists mkdir: cannot create directory `y..': File exists mkdir: cannot create directory `y...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 y/ drwxr-xr-x 3 Hannu 0 May 30 2003 z/ drwxr-xr-x 2 Hannu 0 May 30 2003 a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a...a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a..a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a.a/ #FAT $ source ~/TEST mkdir: cannot create directory `x.': File exists mkdir: cannot create directory `x..': File exists mkdir: cannot create directory `x...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 x/ mkdir: cannot create directory `y.': File exists mkdir: cannot create directory `y..': File exists mkdir: cannot create directory `y...': File exists drwxr-xr-x 2 Hannu 0 May 30 2003 y/ drwxr-xr-x 3 Hannu 0 May 30 2003 z/ drwxr-xr-x 2 Hannu 0 May 30 2003 a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a...a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a..a/ drwxr-xr-x 2 Hannu 0 May 30 2003 a.a/ /Hannu E K Nevalainen, Mariefred, Sweden, 59~14'N, 17~12'E. >17~C avg/d now. ~ <=> degree [1] Explorer is a well known label of liquor in Sweden ;-) --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/