[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MiNT-Library: Bugs
Benjamin Lorenz (benni@phil15.uni-sb.de) wrote:
> 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?
> benni@pfsparc02[p0] ~% ls -l baba
> lrwxrwxrwx 1 benni 4 Nov 22 16:17 baba -> /tmp
> benni@pfsparc02[p0] ~% ls -l baba/
> lrwxrwxrwx 1 benni 4 Nov 22 16:17 baba/ -> /tmp
> benni@pfsparc02[p0] ~%
And there not?
Please try the following on your favourite OS (*not* MiNT ;).
#!/bin/sh
#
# This is linktest, a small script for testing the behaviour of symbolic
# links. Frank Bartels (knarf@nasim.cube.net).
#
uname -a
#
cd /tmp
#
mkdir foobar1
touch foobar1/file
ln -s foobar1 foobar2
#
/bin/ls -l foobar2
/bin/ls -lL foobar2
/bin/ls -l foobar2/
#
# Clearing up
#
rm -r foobar1 foobar2
#
# End of script.
It should give you the following result:
SunOS nasim 4.1.1 11 sun3
lrwxrwxrwx 1 knarf 7 Nov 24 12:36 foobar2 -> foobar1
total 0
-rw-r--r-- 1 knarf 0 Nov 24 12:36 file
total 0
-rw-r--r-- 1 knarf 0 Nov 24 12:36 file
FreeBSD sogand 1.1.5(RELEASE) SOGAND#6 i386
lrwxr-xr-x 1 knarf 7 Nov 24 12:37 foobar2 -> foobar1
total 0
-rw-r--r-- 1 knarf 0 Nov 24 12:37 file
total 0
-rw-r--r-- 1 knarf 0 Nov 24 12:37 file
[4.1.3 really seems to be broken:]
SunOS sun1 4.1.3 1 sun4m
lrwxrwxrwx 1 p7003cg 7 Nov 24 13:09 foobar2 -> foobar1
total 0
-rw-r--r-- 1 p7003cg 0 Nov 24 13:09 file
lrwxrwxrwx 1 p7003cg 7 Nov 24 13:09 foobar2/ -> foobar1
HP-UX hpbayer1 A.09.01 A 9000/715 2010408484 two-user license
lrwxr-xr-x 1 bartels stud 7 Nov 24 13:12 foobar2 -> foobar1
total 0
-rw-r--r-- 1 bartels stud 0 Nov 24 13:12 file
total 0
-rw-r--r-- 1 bartels stud 0 Nov 24 13:12 file
OSF1 fgv V1.3 113 alpha
lrwxr-xr-x 1 knarf 10 7 Nov 24 12:14 foobar2 -> foobar1
total 0
-rw-r--r-- 1 knarf 10 0 Nov 24 12:14 file
total 0
-rw-r--r-- 1 knarf 10 0 Nov 24 12:14 file
You want more?
Bye,
Knarf
--
Frank Bartels | UUCP/ZModem: + 49 89 5469593 | MiNT is
knarf@nasim.cube.net | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!