Re: Adding .db support to pkg_tools

2008-05-11 Thread Garrett Cooper
On May 9, 2008, at 5:43 AM, Joerg Sonnenberger wrote: On Fri, May 09, 2008 at 01:52:46PM +0200, Anders Nore wrote: I'm working on adding .db support to the pkg_tools( i.e. pkg_add, pkg_info, etc. ) as part of SoC 2008. The database api used is BerkeleyDB that comes with the base system

Re: correct #define in source to specify FBSD vs. linux?

2008-05-11 Thread Garrett Cooper
On May 9, 2008, at 11:36 AM, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Franks wrote: | Seems there is a more appropriate list for my earlier question to | freebsd-questions: | | On and on I charge porting linux engineering tools. Major pita. I | see a bunch of #ifdef

Xenu PV

2008-05-11 Thread Bart Van Kerckhove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear list, I'm interested in checking out the work being done on XenU PV support in the freebsd kernel. However, probably because of some stupid oversight on my part, I can't seem to check out the source from eiter cvsup10 or 18 (as stated on

Re: Adding .db support to pkg_tools

2008-05-11 Thread Jos Backus
On Sun, May 11, 2008 at 06:38:25AM -0700, Garrett Cooper wrote: +1. BDB is quite easy to corrupt... If we're going to use a binary file format, please consider using SQLite instead. It has the right license, a nice API (transactions!) and is robust enough for yum to use it for a similar purpose.

Re: devctl (alike?) for devfs

2008-05-11 Thread Andriy Gapon
Kostik, John, Warner, thank you for your guidance and suggestions. I am currently testing the patch attached and I am using a kernel with WITNESS and INVARIANTS enabled. Scope of my testing is plugging/unplugging of UMASS devices. I get CREATE notifications all right. I do not get any

Re: devctl (alike?) for devfs

2008-05-11 Thread Kostik Belousov
On Sun, May 11, 2008 at 11:50:20PM +0300, Andriy Gapon wrote: Kostik, John, Warner, thank you for your guidance and suggestions. I am currently testing the patch attached and I am using a kernel with WITNESS and INVARIANTS enabled. Scope of my testing is plugging/unplugging of UMASS

Re: sshd patch to avoid DNS lookups when using 'UseDNS no' or -u0

2008-05-11 Thread Bruce Cran
Ollivier Robert wrote: According to Bruce Cran: I've attached a patch which implements this (the change to loginrec.c reverts it back to the default OpenSSH code) and was wondering if someone could take a look at it. If you have not already done so, please use send-pr to record it in GNATS,

4bsd fuzzy runq

2008-05-11 Thread Elijah Buck
Hi, I'm looking at the code for 4bsd fuzzy run queues in kern_switch.c The relevant bit: if (fuzz 1) { int count = fuzz; int cpu = PCPU_GET(cpuid); struct thread *td2; td2 = td = TAILQ_FIRST(rqh); while (count-- td2) { if (td-td_lastcpu == cpu) { td =