[OT?] Strange filesystem behaviour
Hack Kampbjorn
cygwin@hack.kampbjorn.com
Sun Jun 1 15:01:00 GMT 2003
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/
More information about the Cygwin
mailing list