Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 16:34:13 -0400
From:      sbabkin@dcn.att.com
To:        shigio@wafu.netgate.net
Cc:        hackers@FreeBSD.ORG
Subject:   RE: Improvement of ln(1). 
Message-ID:  <C50B6FBA632FD111AF0F0000C0AD71EEFF8B61@dcn71.dcn.att.com>

next in thread | raw e-mail | index | archive | help
> From:	shigio@wafu.netgate.net [SMTP:shigio@wafu.netgate.net]
> 
> 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.
> 
This example is a lot better. But is it really often needed (I mean, the
automatic calculation of ../.. sequence) ?

-Serge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50B6FBA632FD111AF0F0000C0AD71EEFF8B61>