[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need some advice on 3 questions
On 2002-03-19 04:31:22 -0600, neal hamilton wrote:
> 1. option FFS_SOFTUPDATES the faq says: This option is included in
> GENERIC kernels starting with OpenBSD 2.9. However, you still must
> enable it on a per mount point basis.
>
> I looked at the GENERIC kernel and did not see this option in there. Do
> I have to put it there and compile it before I set up etc/fstab?
No, see my /etc/fstab:
/dev/wd0a / ffs rw,noatime 1 1
swap /tmp mfs rw,async,noatime,nosuid,nodev,-s212000 0 0
kern /kern kernfs rw 0 0
/dev/wd0d /var ffs rw,noatime,softdep,nodev 1 2
/dev/wd0e /usr ffs rw,noatime,softdep,nodev 1 2
/dev/wd0f /usr/src ffs rw,noatime,softdep,nosuid,nodev 1 2
/dev/wd0g /usr/ports ffs rw,noatime,softdep,nosuid,nodev 1 2
/dev/wd0h /usr/local ffs rw,noatime,softdep,nodev 1 2
/dev/wd0i /home ffs rw,noatime,softdep,nosuid,nodev 1 2
It's the 'softdep' option you're after.
> 2. routing. The Faq also says the generic kernel has ip forwarding built
> in and just needs to be turned on via sysctl. I was reading the kernel
> options and saw the option IPFORWARDING. If I added this to my kernel
> and compiled it would I still need to edit the sysctl file? Are there
> any pros and or cons to one option vrs other?
You need both net.inet.ip.forwarding=1 and IPFORWARDING.
[ snipped some good looking steps ]
> these are the steps I followed last time. the kernel compiled fine and
> the system rebooted with the new one and was working great. I then moved
> on to compiling my binaries and it generated the following after
> sometime and stoped:
>
> Stop in /usr/src/lib/libocurses/PSD.doc (line 47 of
> > /usr/share/mk/bsd.doc.mk).
> > *** Error code 1
> >
> > Stop in /usr/src/lib/libocurses.
> > *** Error code 1
> >
> > Stop in /usr/src/lib.
> > *** Error code 1
> >
> > Stop in /usr/src (line 79 of Makefile).
Looks strange, have you tried to clean out the sources and try again?
Sometimes it just doesn't work because of ... uhm ... cosmic rays.
Or maybe that part of the build relies on some program in a tarball you
didn't install?
Also be aware that when you recompile you'll get what amounts to a full
install on disk, excluding the x*30.tgx tarballs of course.
> another user sent me this url:
> http://www.openbsd.org/faq/upgrade-minifaq.html#3.0.3
This is unneccessary if it's from 3.0 release to 3.0 patch.
Hope this helps and have a nice day
Morten
--
Morten Liebach <m@kallisti.dk>, webpages at http://kallisti.dk/
PGP-key: http://kallisti.dk/ml.asc or Key-ID 0xD796A4EB on keyserver.net