From owner-freebsd-newbies@FreeBSD.ORG Thu Aug 7 18:40:03 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 CD5A037B401 for ; Thu, 7 Aug 2003 18:40:03 -0700 (PDT) Received: from sparky.laundered.net (sparky.laundered.net [216.135.85.66]) by mx1.FreeBSD.org (Postfix) with SMTP id C1CA643FA3 for ; Thu, 7 Aug 2003 18:40:02 -0700 (PDT) (envelope-from nateg@laundered.net) Received: (qmail 23692 invoked from network); 8 Aug 2003 01:39:29 -0000 Received: from nougat.laundered.net (HELO nougat) (10.0.0.72) by sparky.laundered.net with SMTP; 8 Aug 2003 01:39:29 -0000 From: "Nathan Grant" To: Date: Thu, 7 Aug 2003 21:38:44 -0400 Message-ID: <021201c35d4d$cdb80500$4800000a@nougat> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3F32F78D.4080504@verizon.net> Importance: Normal cc: 'Alden Louis-Pierre' 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 01:40:04 -0000 > 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" >