This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [OT?] Strange filesystem behaviour
- From: Hack Kampbjorn <cygwin at hack dot kampbjorn dot com>
- To: ML CygWIN <cygwin at cygwin dot com>
- Date: Sun, 01 Jun 2003 17:01:29 +0200
- Subject: Re: [OT?] Strange filesystem behaviour
- References: <NGBBLLIAMFLGJEOAJCCEEEDADAAA.garbage_collector@telia.com>
- Reply-to: cygwin at cygwin dot 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@winsat hack]$ cd tmp
[hack@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@winsat tmp]$ touch a..
[hack@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@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/