delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/01/11:01:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3EDA1549.1090101@hack.kampbjorn.com>
Date: Sun, 01 Jun 2003 17:01:29 +0200
From: Hack Kampbjorn <cygwin AT hack DOT kampbjorn DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: ML CygWIN <cygwin AT cygwin DOT com>
Subject: Re: [OT?] Strange filesystem behaviour
References: <NGBBLLIAMFLGJEOAJCCEEEDADAAA DOT garbage_collector AT telia DOT com>
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEEEDADAAA.garbage_collector@telia.com>

Hannu E K Nevalainen (garbage mail) wrote:
> 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.

It's a DOS legacy "feature". In the old 8+3 days there was no periode in 
filenmaes it was automatically inserted between characters 8 and 9. Hence Win32 
filesystem now remove any trailing periods.

[hack AT winsat hack]$ cd tmp
[hack AT winsat tmp]$ ls -las
total 0
    0 drwxrwxrwx+   2 hack     hack            0 Jun  1 16:55 .
    0 drwxrwxrwx+  10 root     None         8192 Jun  1 16:55 ..
[hack AT winsat tmp]$ touch a..
[hack AT winsat tmp]$ ls -las
total 0
    0 drwxrwxrwx+   2 hack     hack            0 Jun  1 16:55 .
    0 drwxrwxrwx+  10 root     None         8192 Jun  1 16:55 ..
    0 -rw-rw-rw-    1 hack     hack            0 Jun  1 16:55 a
[hack AT winsat tmp]$

> /Hannu E K Nevalainen, Mariefred, Sweden, 59~14'N, 17~12'E. >17~C avg/d now.
> ~ <=> degree


-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019