Date: Thu, 20 Jun 2002 13:00:07 -0700 (PDT) From: parv <parv@pair.com> To: freebsd-bugs@FreeBSD.org Subject: Re: i386/39584: ln -f fails to unlink Message-ID: <200206202000.g5KK07q58800@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/39584; it has been noted by GNATS. From: parv <parv@pair.com> To: Steve Follmer <sffollmer@yahoo.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/39584: ln -f fails to unlink Date: Thu, 20 Jun 2002 16:00:01 -0400 in message <200206201902.g5KJ2fZt065993@www.freebsd.org>, wrote Steve Follmer thusly... > > > >Release: 4.5-RELEASE > > man ln claims... > -f If the target file already exists, then unlink it so that the link may occur. > > >How-To-Repeat: > edge1# mkdir d1 > edge1# mkdir d2 > edge1# ln -s d1 l1 > edge1# ln -fs d2 l1 > edge1# ls -l > total 4 > drwxr-xr-x 2 root wheel 512 Jun 20 11:13 d1 > drwxr-xr-x 2 root wheel 512 Jun 20 11:12 d2 > lrwxr-xr-x 1 root wheel 2 Jun 20 11:13 l1 -> d same thing happesn on 4.6-release, jun 16 2002; problems seem to be related only to directories, but not files. # touch f1 f2; ln -s f1 p1 ; ln -sf f2 p1 ; ls -Fl f1 f2 p1 ...would show link between f2 & p1. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206202000.g5KK07q58800>