Date: Wed, 13 Oct 2004 07:38:46 -0700 (PDT) From: spam maps <spamrefuse@yahoo.com> To: freebsd-current <freebsd-current@freebsd.org> Subject: Re: 5.3-Beta7 share/examples/diskless/clone_root : wrong "options MFS" entry Message-ID: <20041013143846.79693.qmail@web54010.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013143846.79693.qmail>
