From owner-freebsd-hackers Fri Jul 10 14:28:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19557 for freebsd-hackers-outgoing; Fri, 10 Jul 1998 14:28:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from att.com (kcgw1.att.com [192.128.133.151]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA19552 for ; Fri, 10 Jul 1998 14:28:30 -0700 (PDT) (envelope-from sbabkin@dcn.att.com) From: sbabkin@dcn.att.com Received: by kcgw1.att.com; Fri Jul 10 15:18 CDT 1998 Received: from dcn71.dcn.att.com ([135.44.192.112]) by kcig1.att.att.com (AT&T/GW-1.0) with ESMTP id PAA02156 for ; Fri, 10 Jul 1998 15:18:28 -0500 (CDT) Received: by dcn71.dcn.att.com with Internet Mail Service (5.0.1458.49) id <32C9HX77>; Fri, 10 Jul 1998 16:18:27 -0400 Message-ID: To: shigio@wafu.netgate.net, hackers@FreeBSD.ORG Subject: RE: Improvemnet of ln(1). Date: Fri, 10 Jul 1998 16:18:26 -0400 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Shigio Yamaguchi [SMTP:shigio@wafu.netgate.net] > > I'm thinking about improvement of ln(1). > > [Problem] > > Ln(1) with -s option makes illegal symbolic link in some case. > For example, > > (Both '/usr/src/sys' and '/tmp' are real directories.) > > % cd /usr > % ln -s src/sys /tmp > % ls -l /tmp/sys > lrwxrwxrwx 1 shigio wheel 7 Jul 11 02:03 /tmp/sys -> src/sys > % cd /tmp/sys > /tmp/sys: No such file or directory. > > Symbolic link '/tmp/sys' has illegal value, so we cannot move there. > Above behavior is not desireble in almost case, I think. > > [Solution] > ln -s `pwd`/src/sys /tmp Isn't it simpler ? -Serge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message