From owner-freebsd-hackers Tue Jul 14 08:28:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18565 for freebsd-hackers-outgoing; Tue, 14 Jul 1998 08:28:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wafu.netgate.net (wafu.netgate.net [204.145.147.80]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA18558 for ; Tue, 14 Jul 1998 08:28:08 -0700 (PDT) (envelope-from shigio@wafu.netgate.net) Message-Id: <199807141528.IAA18558@hub.freebsd.org> Received: (qmail 18812 invoked from network); 14 Jul 1998 07:27:52 -0000 Received: from ins46.tama-ap3.dti.ne.jp (HELO choota.signet.or.jp) (203.181.67.46) by wafu.netgate.net with SMTP; 14 Jul 1998 07:27:52 -0000 Received: from choota.signet.or.jp (localhost [127.0.0.1]) by choota.signet.or.jp (8.8.7/) with ESMTP id AAA01259; Wed, 15 Jul 1998 00:29:33 +0900 (JST) To: sbabkin@dcn.att.com cc: shigio@wafu.netgate.net, hackers@FreeBSD.ORG Subject: Re: Improvemnet of ln(1). In-reply-to: Message from sbabkin@dcn.att.com of "Tue, 14 Jul 1998 09:35:40 -0400." Date: Wed, 15 Jul 1998 00:29:33 +0900 From: Shigio Yamaguchi Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: sbabkin@dcn.att.com > > > ln -s `pwd`/src/sys /tmp > > > > > > Isn't it simpler ? > > > > But it forces user to use absolute symbolic link. > > > Do the relative symbolic links make any sense outside of subdirectory > hierarchy ? > Of course, you can do it as ../usr/src/sys and it may be useful in some > cases but > would it make any sense here? Do you mean a symbolic link including root directory is useless? You are right. My example was bad. How about this example? % ln -sr /usr/src/sys/kern/tty.c /usr/obj/usr/src/sys/kern/tty.c % ls -l !$ lrwxrwxrwx 1 shigio bin 33 Jul 14 23:56 /usr/obj/usr/src/sys/kern/tty.c -> ../../../../../src/sys/kern/tty.c This symbolic link is solved in the '/usr' subdirectory. So, you can mount /usr file system at any point. -- Shigio Yamaguchi (Freelance programmer) Mail: shigio@wafu.netgate.net, WWW: http://wafu.netgate.net/tama/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message