*BSD News Article 3960


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!decwrl!olivea!uunet!timbuk.cray.com!hemlock.cray.com!overby
From: overby@cray.com (Glen Overby)
Newsgroups: comp.unix.bsd
Subject: Re: 386bsd: kernel rebuild?, disklabel?
Message-ID: <1992Aug20.105643.22025@hemlock.cray.com>
Date: 20 Aug 92 15:56:43 GMT
References: <1992Aug20.144812.29251@engage.pko.dec.com>
Organization: ^$
Lines: 28

In article <1992Aug20.144812.29251@engage.pko.dec.com> ewanco@kalvin.enet.dec.com writes:
>Evidently you need the source to rebuild the kernel, unlike my DECstation 3100.

Unlike your DECStation 3100, you get sources for 386bsd.

>Is there any way you can load the kernel code and rebuild it without
>downloading and unpacking the entire source distribution?  I don't yet have

cat (split cpio.Z distribution files) | zcat | \
    cpio -icadmv (and other flags)  'usr/src/sys.386bsd*' 'usr/src/include*'

(yes, the cat on the front is necessary as zcat will *always* append a .Z)

>second, WHAT THE *^%$#@ DOES disklabel DO?  and how do I use it? The man page

Well, you have fdisk to put MS-DOS / ROM BIOS style partitions on your disk,
and disklabel to put BSD style partitions on your disk (optionally in a disk
partition).

I think your DECstation does something similar.

>Am I correct in assuming that there are virtually nil docs for 386bsd?

NO. There's the sources :-)

some man pages are available (I'm not sure which distribution kit they're in).

Glen Overby