Date: Wed, 12 Dec 2001 16:32:13 -0800 (PST) From: Bill Schoolcraft <bill@wiliweld.com> To: <freebsd-newbies@FreeBSD.ORG> Cc: Bill Schoolcraft <bill@linuxcare.com> Subject: Re: oops I did it again :-) Message-ID: <Pine.LNX.4.33.0112121623280.5639-100000@localhost.localdomain> In-Reply-To: <Pine.BSF.4.10.10112121608040.1790-100000@andrsn.stanford.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 12 Dec 2001 it looks like Annelise Anderson composed:
> On Wed, 12 Dec 2001, Petre Bandac wrote:
>
> > the part with mount /dev/ad .... worked, and I may praise myself I got the
> > idea before reading your mail - anyways thanks very much for your help.
> >
> > one last question - call me lazy because I didn't RTFM - but the kernel stuff
> > is the same like in linux - for every extra thing I need - quota support and
> > other stuff - I must recompile, right ? but where are the sources ? [stupid
> > question, isn't it ? :-)]
>
> sources are in /usr/src; config files are in /usr/src/sys/i386/conf, and
> you'll need to add stuff from LINT to GENERIC (copy GENERIC first to a new
> name, and edit the copy)
>
> but see the handbook for step-by-step instructions (they're in my book,
> too); I think quotas need something from LINT but I'm not sure; you
> probably need to enable something in rc.conf as well
>
> overall it's different from linux and I'd avoid making too many analogies
>
..... when I first compiled my first FreeBSD kernel I nearly
screamed when I realized I was finished, having been doing Linux
kernels for some time now it was a piece of cake.
(A) cd /sys/i386/conf
(B) cp GENERIC MYKERNEL
(C) edit MYKERNEL via help from /sys/i386/conf/LINT (you should be
in that directory now anyway.)
(D) when finished do the command `config MYKERNEL`
(E) cd /usr/src/sys/compile/MYKERNEL
(F) `make depend`
(G) `make`
(H) `make install`
(I) `reboot`
Of course you could string the last 4 commands on one live all at
once but for now this should work fine, kinda makes you keep an eye
on the screen.
Happy Hacking.
--
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
"UNIX, A Way Of Life." _\_v
http://forwardslashunix.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0112121623280.5639-100000>
