*BSD News Article 4106


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!decwrl!pa.dec.com!e2big.mko.dec.com!engage.pko.dec.com!newsdaemon
From: eje@irenaeus.mlo.dec.com (Eric James Ewanco)
Subject: Re: 386bsd: kernel rebuild?, disklabel?
Message-ID: <1992Aug20.195759.7962@engage.pko.dec.com>
Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
Reply-To: ewanco@kalvin.enet.dec.com
Organization: Digital Equipment Corporation
References: <1992Aug20.144812.29251@engage.pko.dec.com> <1992Aug20.105643.22025@hemlock.cray.com>
Date: Thu, 20 Aug 1992 19:57:59 GMT
Lines: 47


In article <1992Aug20.105643.22025@hemlock.cray.com>, overby@cray.com 
(Glen Overby) writes:
From: overby@cray.com (Glen Overby)
Subject: Re: 386bsd: kernel rebuild?, disklabel?
Date: Thu, 20 Aug 92 11:56:43 GMT+5:00

> In article <1992Aug20.144812.29251@engage.pko.dec.com> 
ewanco@kalvin.enet.dec.com writes:

> >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*'

OK, where can I get the source to cpio to compile on my DECstation so it works?
I have endian problems doing this on my DECstation.

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

> 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.

Actually my DECstation uses chpt to create a partition, then you mkfs it. None
of this stuff about creatinga "disklabel" for a "pack" ! :-) 

This is fine, but how do I use it? Something like

disklabel -w as0a cp3100

? Do I need disklabel with floppies (which are never partitioned)?  how do I
create a partial partition (not the whole disk)? Why does it need the disk
type, why can't it query the disk for the info it needs? How did "install"
create my partition?

Eric
--
/=============================================================================\
| Eric Ewanco - Software Engineer     For the rash and outrageous opinions ex-|
| Digital Equipment Corp, Maynard MA  pressed herein I alone am responsible;  |
| ewanco@kalvin.enet.dec.com          they do not belong to DIGITAL(TM).      |
\==============================- 2 Th 2:15 -==================================/