[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] touching symbolic links



Am 31.05.2014, 22:16 Uhr, schrieb Helmut Karlowski:

One more discrepance:

cygwin:

/tmp|11:56:34#ls -l xx n
ls: cannot access n: No such file or directory
lrwxrwxrwx 1 hk Benutzer 1 Jun  1 11:51 xx -> n
/tmp|11:56:40#touch xx
/tmp|11:56:46#ls -l xx n
-rw-r--r-- 1 hk Benutzer 0 Jun  1 11:56 n
lrwxrwxrwx 1 hk Benutzer 1 Jun  1 11:51 xx -> n

MiNT:

ls -l n xx
ls: n: No such file or directory
lrwxrwxrwx    1 root     wheel           1 Jun  1 11:58 xx -> n
touch xx
ls -l n xx
ls: n: No such file or directory
lrwxrwxrwx    1 root     wheel           1 Jun  1 11:58 xx -> n

I.e. on cygwin the link-target is created when touching a link that points to a non-existing file, on MiNT not. Who's right?

-Helmut

--