Subject: Re: kern/35675: magiclinks implementation broken
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 02/17/2007 19:15:07
The following reply was made to PR kern/35675; it has been noted by GNATS.
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: juan@xtrarom.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35675: magiclinks implementation broken
Date: Sun, 18 Feb 2007 04:10:32 +0900 (JST)
> On Sun, 18 Feb 2007 03:55:45 +0900 (JST)
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
>
> > which part of the above do you think broken?
>
> See the following, firstly with files:
>
> [juan@nocturno][~]> ln -s blah/@uid foo
> [juan@nocturno][~]> file foo
> foo: broken symbolic link to `blah/@uid'
> [juan@nocturno][~]> cat foo
> cat: foo: No such file or directory
> [juan@nocturno][~]> echo blah > foo
> [juan@nocturno][~]> cat foo
> blah
> [juan@nocturno][~]> ls -l blah
> total 8
> -rw-r--r-- 1 juan wheel 5 Feb 17 19:58 1000
> [juan@nocturno][~]> cat blah/1000
> blah
> [juan@nocturno][~]>
>
> Now with directories:
>
> [juan@nocturno][~]> mkdir -p blah/@uid/tmp
> [juan@nocturno][~]> ln -s blah/@uid/tmp foo
> [juan@nocturno][~]> cd foo
> cd: no such file or directory: foo
> [juan@nocturno][~]> file foo
> foo: symbolic link to `blah/@uid/tmp'
> [juan@nocturno][~]>
>
> So does it work?
do you mean the above is not what you expected?
can you explain what you expected to happen?
YAMAMOTO Takashi