Re: 5.3-Beta7 share/examples/diskless/clone_root : wrong "options MFS" entry

From: spam maps <spamrefuse_at_yahoo.com>
Date: Wed, 13 Oct 2004 07:38:46 -0700 (PDT)
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 <archive-filename>
  Extract: tar -xf <archive-filename>
  Create:  tar -cf <archive-filename> [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 
Received on Wed Oct 13 2004 - 12:38:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC