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

Re: MiNT-Library: Bugs



Huhu Knarf!

> > SunOS 4.1.3_U1:
> 
> > benni@pfsparc02[p0] ~% ls baba
> > decode.2452     gopheBAAa03374  magi            sh15740         snd.3398
> > est.3398        m-prts-achim    mbox.benni      sh15741
> 
> Huh? If `baba' is a symbolic link, why do you get the contents of /tmp here?

>From the 'ln(1)' manpage:

---------- schnipp ------------------

     A symbolic link to a directory behaves differently than  you
     might  expect  in  certain cases.  While an ls(1V) on such a

Sun Release 4.1  Last change: 16 September 1989                 1

LN(1V)                   USER COMMANDS                     LN(1V)

     link displays the files in the pointed-to directory, an  `ls
     -l' displays information about the link itself:
          example% ln -s dir link
          example% ls link
          file1 file2 file3 file4
          example% ls -l link
          lrwxrwxrwx  1 user            7 Jan 11 23:27 link -> dir

---------------------------- schnapp ------


SunOS bardot 4.1.3 3 sun4c
lrwxrwxrwx  1 lorenz          7 Nov 25 12:05 foobar2 -> foobar1
total 0
-rw-r--r--  1 lorenz          0 Nov 25 12:05 file
lrwxrwxrwx  1 lorenz          7 Nov 25 12:05 foobar2/ -> foobar1

ULTRIX pasolini 4.2 0 RISC
lrwxr-xr-x  1 lorenz          7 Nov 25 12:06 foobar2 -> foobar1
total 0
-rw-r--r--  1 lorenz          0 Nov 25 12:06 file
total 0
-rw-r--r--  1 lorenz          0 Nov 25 12:06 file

SunOS sbusol 4.1B 4.1.2 sun4
lrwxrwxrwx  1 gg11klbl        7 Nov 25 12:07 foobar2 -> foobar1
total 0
-rw-------  1 gg11klbl        0 Nov 25 12:07 file
total 0
-rw-------  1 gg11klbl        0 Nov 25 12:07 file

SunOS serv-100 5.3 Generic_Patch sun4m sparc
lrwxrwxrwx   1 lorenz   ps-s           7 Jan  1  1970 foobar2 -> foobar1
total 0
-rw-r--r--   1 lorenz   ps-s           0 Nov 25 12:13 file
lrwxrwxrwx   1 lorenz   ps-s           7 Nov 25 12:13 foobar2/ -> foobar1



-- 
Benjamin Lorenz, <NEW>Johannisstr. 15, D-66111 Saarbruecken<NEW>
Phone: +49 681 <NEW>35334<NEW>,   E-mail: benni@phil15.uni-sb.de