From owner-freebsd-newbies@FreeBSD.ORG Thu Aug 7 19:04:33 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE96837B401 for ; Thu, 7 Aug 2003 19:04:33 -0700 (PDT) Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E3443FDF for ; Thu, 7 Aug 2003 19:04:33 -0700 (PDT) (envelope-from alden.pierre@verizon.net) Received: from verizon.net ([138.89.80.31]) by out005.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030808020432.KAOR15786.out005.verizon.net@verizon.net>; Thu, 7 Aug 2003 21:04:32 -0500 Message-ID: <3F33052F.3040301@verizon.net> Date: Thu, 07 Aug 2003 22:04:31 -0400 From: Alden Louis-Pierre User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nathan Grant References: <021201c35d4d$cdb80500$4800000a@nougat> In-Reply-To: <021201c35d4d$cdb80500$4800000a@nougat> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [138.89.80.31] at Thu, 7 Aug 2003 21:04:32 -0500 cc: freebsd-newbies@freebsd.org Subject: Re: Question about the ln command X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 02:04:34 -0000 Nathan Grant wrote: >>Hello Everyone, >> >> I've just installed FreeBSD 4.8. I must say installing >>FreeBSD is >>fairly easy. I've manage to dual boot with Win2K and FreeBSD. >>I'm now in the process of trying to configuring my kernel and >>getting my >>ports directory up to date via cvsup. I've notice while >>reading the FreeBSD HandBook 2nd Edition p.178 it was >>suggested to copy >>the kernel file to the root directory. Configuring the kernel >>seems to be straight forward. The problem I have is the following: >> >>*cd /usr/src/sys/i386/conf >>mkdir /root/kernels >>cp GENERIC /root/kernels/MYKERNEL >>ln -s /root/kernels/MYKERNEL* >> >>I have a problem with the last command. From my understanding and >>reading through the man pages should it the *ln* command take in 3 >>paramaters >>(*ln [option] [source] [dest]*) ? Is it even possible to create a >>symbolic link with so few parameters? >> >> >> >Yes, it is. With source as the only argument to ln, it makes a link in >the current directory with the name of the source file. So, if your pwd >was /usr/src/sys/i386/conf and you committed the last command on that >list, it would create a link /usr/src/sys/i386/conf/MYKERNEL -> >/root/kernels/MYKERNEL >The destination argument is useful for overriding this behavior, but it >is not necessary. > >HTH, >Nathan Grant > > >>_______________________________________________ >>freebsd-newbies@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-newbies >>To unsubscribe, send any mail to >>"freebsd-newbies-unsubscribe@freebsd.org" >> >> >> > >_______________________________________________ >freebsd-newbies@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-newbies >To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" > > > Ok, so then why is when I do ls -la /root/kernels/ why does it MYKERNEL under the /root/kernels directory show it's pointer to /usr/src/sys/i386/conf/MYKERNEL? I know that /home is symbolic link to /usr/home and displays where it points to with /root/kernels/MYKERNEL, I don't see this. Am I being a little to analytical?