From: Marcus Meissner <Marcus.Meissner@caldera.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Marcus Meissner <mm@ns.caldera.de>, linux-kernel@vger.kernel.org
Subject: Re: ln -s broken on 2.4.5
Date: Wed, 30 May 2001 23:30:05 +0200 [thread overview]
Message-ID: <20010530233005.A27497@caldera.de> (raw)
In-Reply-To: <200105301923.f4UJNl815303@ns.caldera.de> <E155CH3-0006XA-00@the-village.bc.nu>
In-Reply-To: <E155CH3-0006XA-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Wed, May 30, 2001 at 09:08:56PM +0100
On Wed, May 30, 2001 at 09:08:56PM +0100, Alan Cox wrote:
> > > What file system. Its find on my 2.4.5-ac with ext2
> >
> > 100% reproducible on NFS and EXT2 here, with following:
>
>
> > $ ls -la bar
> > lrwxrwxrwx 1 marcus users 3 May 30 20:30 bar -> bar
>
> bash-2.04$ uname -a
> Linux irongate.swansea.linux.org.uk 2.4.5-ac2 #163 Mon May 28 22:56:38 BST 2001 i686 unknown
> bash-2.04$ ln -s frobnitz flop
> bash-2.04$ ls -l f*
> lrwxrwxrwx 1 alan users 8 May 30 20:50 flop -> frobnitz
>
> bash-2.04$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81
The problem is only there if you specify a directory for the linked to
component.
[marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx
execve("/bin/ln", ["ln", "-s", "fupp/berk", "xxx"], [/* 39 vars */]) = 0
... ld stuff ... locale stuff ...
lstat64("xxx", 0xbffff47c) = -1 ENOENT (No such file or directory)
lstat64("xxx", 0xbffff47c) = -1 ENOENT (No such file or directory)
symlink("fupp/berk", "xxx") = 0
_exit(0) = ?
[marcus@wine /tmp]$ ll xxx
lrwxrwxrwx 1 marcus users 3 May 30 22:36 xxx -> xxx
[marcus@wine /tmp]$ uname -a
Linux wine.lst.de 2.4.5-ac4 #3 SMP Tue May 29 18:24:07 CEST 2001 i686 unknown
[marcus@wine /tmp]$
It works just wonderful with previous kernels.
Ciao, Marcus
next prev parent reply other threads:[~2001-05-30 21:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-30 16:40 ln -s broken on 2.4.5 Edsel Adap
2001-05-30 17:13 ` Rasmus B. Hansen
2001-05-30 18:24 ` Alan Cox
2001-05-30 19:23 ` Marcus Meissner
2001-05-30 19:47 ` LA Walsh
2001-05-30 20:08 ` Alan Cox
2001-05-30 21:30 ` Marcus Meissner [this message]
2001-05-30 21:42 ` Sergey Kubushin
2001-05-30 21:44 ` Mike Castle
2001-05-30 21:47 ` Rasmus B. Hansen
2001-05-30 21:49 ` Alan Cox
2001-05-30 22:05 ` Marcus Meissner
2001-05-30 19:42 ` Edsel Adap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010530233005.A27497@caldera.de \
--to=marcus.meissner@caldera.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mm@ns.caldera.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox