From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 14:38:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80ED116A4CE for ; Wed, 13 Oct 2004 14:38:47 +0000 (GMT) Received: from web54010.mail.yahoo.com (web54010.mail.yahoo.com [206.190.36.234]) by mx1.FreeBSD.org (Postfix) with SMTP id EB91643D54 for ; Wed, 13 Oct 2004 14:38:46 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Message-ID: <20041013143846.79693.qmail@web54010.mail.yahoo.com> Received: from [147.47.254.184] by web54010.mail.yahoo.com via HTTP; Wed, 13 Oct 2004 07:38:46 PDT Date: Wed, 13 Oct 2004 07:38:46 -0700 (PDT) From: spam maps To: freebsd-current MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: 5.3-Beta7 share/examples/diskless/clone_root : wrong "options MFS" entry X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 14:38:47 -0000 spam maps wrote: > Hello, > > The file > /usr/src/share/examples/diskless/clone_root > describes these options to be needed in > the kernel config file: > > # options MFS > # options BOOTP > # options BOOTP_NFSROOT > # options BOOTP_COMPAT > > However, MFS is no longer supported since 5.X > and this may unnecessary confuse people who > want to have a diskless boot kernel. > > Can someone fix this? There are more sections wrong in /usr/src/share/examples/diskless/clone_root for 5.X. When I run 'clone_root all', I get several serious errors and warnings on my 5.3-Beta7 PC: 1) Error: -l has different behaviors in different tar programs. For the GNU behavior, use --one-file-system instead. For the POSIX behavior, use --check-links instead. Usage: List: tar -tf Extract: tar -xf Create: tar -cf [filenames...] Help: tar --help tar: Error opening archive: Empty input file: Inappropriate file type or format ---- Fix: probably easy; just remove the -l in all tar lines and replace that with --one-file-system. 2) cp: /dev/MAKEDEV: No such file or directory clone_root: /dev/MAKEDEV: not found ---- Fix: not sure. Just remove these lines? 3) copying the kernel stuf to $DEST needs tweaking for the new kernel location in 5.X ---- Fix: here I'm lost. There is the variable "TOCOPY", which has 'boot' and 'modules'. Maybe just remove the 'modules' and have all copies from 'boot'. I can provide a working patch, if I get my diskless PC working with 5.3-Beta7. Would that be useful and included in the release? Rob. __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo