Re: Jail Pseudo Terminals

2001-02-13 Thread Lists Account
Interesting things Ive found with this, thought someone on the list might eventually have a similar problem to what I had, so here is the fix: (Interestingly enough this was _NOT_ nessasary under jail) In screen's config.h the following exists: /* * If your system has the new format

Re: soft updates performance

2001-02-13 Thread Matthew Emmerton
On Mon, 12 Feb 2001, Jordan Hubbard wrote: One other point that I would like to understand is why -j4 takes longer on all of my systems. That goes against what everyone claims should happen. With how many running processors? If you're running -j4 on a uniprocessor system, you're only

Re: Jail Pseudo Terminals

2001-02-13 Thread Robert Watson
Generally speaking, applications expect terminal names to use the following pattern: tty followed by two characterS: Possible first character: pqrsPQRS Possible second character: 0123456789abcdefghijklmnpopqrstuv Normally the selection and allocation of a pty is done transparently to the

Re: [kernel patch] fcntl(...) to close many descriptors

2001-02-13 Thread Garrett Wollman
On Sun, 28 Jan 2001 10:37:16 -0800 (PST), Luigi Rizzo [EMAIL PROTECTED] said: basically i am thinking of something like generic_syscall("fdcloseall", ); No less clear than ret = syscall(SYS_FDCLOSEALL, ...); -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with

edit /usr/src/contrib/ipfiler requires full recompile.

2001-02-13 Thread David Gilbert
I recently tracked down the fact that our office uses up to 14 states and then tracked down where to edit this in ipfilter (/usr/src/contrib/ipfilter/ip_state.h). This was somewhat obtuse, but that is more the product of the ipfilter project documentation than anything FreeBSD has done.

Re: edit /usr/src/contrib/ipfiler requires full recompile.

2001-02-13 Thread Dag-Erling Smorgrav
David Gilbert [EMAIL PROTECTED] writes: I recently tracked down the fact that our office uses up to 14 states and then tracked down where to edit this in ipfilter (/usr/src/contrib/ipfilter/ip_state.h). [...] However, I found that editing this file didn't trigger it to be recompiled by

Re: Dynalink. PCMCIA Ethernet adapter

2001-02-13 Thread Warner Losh
In message [EMAIL PROTECTED] Wes Peters writes: : a) I doubt you'll find the "Dynalink L100C32" supported (yet), and That name looks familiar. Either the rl driver or the dc driver should support it. However, you are insane if you think that upgrading to current right now is fun or desirable.

Re: Handspring.

2001-02-13 Thread Joseph Scott
On Fri, 9 Feb 2001, Kenny Drobnack wrote: # Do you mean getting FreeBSD ported to the Handspring, or do you mean # using FreeBSD to sync with it? As for porting FreeBSD to it it sounds # like Brooks knows what he's talking about. As far as syncing a # Handspring Visor with FreeBSD - dunno.

Re: ADSL and PPPoE question

2001-02-13 Thread Dennis
At 10:02 PM 02/12/2001, Julian Elischer wrote: [EMAIL PROTECTED] wrote: On Mon, 12 Feb 2001 08:20:55 -0800, Julian Elischer wrote: [EMAIL PROTECTED] wrote: I'm very sorry if this is a stupid question. In our company, we want to set up a small network of about 20 PCs.

Re: soft updates performance

2001-02-13 Thread void
On Mon, Feb 12, 2001 at 10:36:40PM -0800, Jordan Hubbard wrote: With how many running processors? If you're running -j4 on a uniprocessor system, you're only introducing competition for already scarce CPU resources, though -j2 can be a speedup since this allows one target build to run

character device driver

2001-02-13 Thread David Rufino
Hi, I'm writing a character device driver in which each minor device can be opened more than once. When a device is opened is there a way to associate some private data for each opened instance ? Thanks. David To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Re: character device driver

2001-02-13 Thread Luigi Rizzo
Hi, I'm writing a character device driver in which each minor device can be opened more than once. When a device is opened is there a way to associate some private data for each opened instance ? Thanks. allocation is easy -- what is complex is looking up the private data on each system

Re: character device driver

2001-02-13 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], David Rufino writes: Hi, I'm writing a character device driver in which each minor device can be opened more than once. When a device is opened is there a way to associate some private data for each opened instance ? Thanks. It is not possible to do this. There

Re: soft updates performance

2001-02-13 Thread Kent Stewart
void wrote: On Mon, Feb 12, 2001 at 10:36:40PM -0800, Jordan Hubbard wrote: With how many running processors? If you're running -j4 on a uniprocessor system, you're only introducing competition for already scarce CPU resources, though -j2 can be a speedup since this allows one

huh

2001-02-13 Thread milunovic
-BEGIN PGP SIGNED MESSAGE- Huh thanks those who helped me with some ptrace() examples for Linux. But I cann't still figure how to trace programm execution under FreeBSD... please can anybody help me or give me some source example to see:o) Thank you - -- Vojislav Milunovic [EMAIL

robustness fix for SYSCTL_OUT

2001-02-13 Thread Thomas Moestl
Hi, the following is from sys/kern/kern_sysctl.c: static int sysctl_old_kernel(struct sysctl_req *req, const void *p, size_t l) { size_t i = 0; if (req-oldptr) { i = l; if (i req-oldlen - req-oldidx) i = req-oldlen -

Reading kernel side time and kldload

2001-02-13 Thread Swamy Ananthanarayan
Hello, I would like to be able to read time from the kernel side without using microtime or getmicrotime. I understand that time can be examined directly by reading (struct timeval) time. From reading the mailing list archives, it seems that direct access of the time struct is not atomic..and

3ware 3dm utility working?

2001-02-13 Thread Peter Brezny
Mike, or anyone, I'm having some difficulty getting the 3dm beta controller sw for the 3ware escalade ide raid cards to work. here's what i have installed and what its doing. If anyone has some tips or suggestions as to what i've done wrong, let me know. I'd really like to get this working.

Re: character device driver

2001-02-13 Thread Luigi Rizzo
: No. You only get one close call and in the kernel all instances of a : minor device are treated identically. : : this is not true anymore, there is some special flag you can : specify in cdevsw or so which passes all close calls to the driver. It is only half untrue. There's a

Re: character device driver

2001-02-13 Thread Warner Losh
In message [EMAIL PROTECTED] Luigi Rizzo writes: : (you still get to know the pid of the process issuing the close() but : this is not always enough). Yes, but if I open it twice in the same process, call dup2, fork, etc, etc, etc. With the cooperation of the userland process more things are

Re: character device driver

2001-02-13 Thread Warner Losh
In message [EMAIL PROTECTED] Luigi Rizzo writes: : In message [EMAIL PROTECTED] David Rufino writes: : : I'm writing a character device driver in which each minor device can be : : opened more than once. When a device is opened is there a way to associate : : some private data for each

Re: soft updates performance

2001-02-13 Thread Warner Losh
In message [EMAIL PROTECTED] void writes: : On Mon, Feb 12, 2001 at 10:36:40PM -0800, Jordan Hubbard wrote: : : With how many running processors? If you're running -j4 on a : uniprocessor system, you're only introducing competition for already : scarce CPU resources, though -j2 can be a

Re: character device driver

2001-02-13 Thread Warner Losh
In message [EMAIL PROTECTED] David Rufino writes: : I'm writing a character device driver in which each minor device can be : opened more than once. When a device is opened is there a way to associate : some private data for each opened instance ? Thanks. No. You only get one close call and in

Re: character device driver

2001-02-13 Thread Luigi Rizzo
In message [EMAIL PROTECTED] David Rufino writes: : I'm writing a character device driver in which each minor device can be : opened more than once. When a device is opened is there a way to associate : some private data for each opened instance ? Thanks. No. You only get one close call

Re: 3ware 3dm utility working?

2001-02-13 Thread Mike Tancsa
On 13 Feb 2001 15:41:49 -0500, in sentex.lists.freebsd.hackers you wrote: Mike, or anyone, I'm having some difficulty getting the 3dm beta controller sw for the 3ware escalade ide raid cards to work. here's what i have installed and what its doing. If anyone has some tips or suggestions as

Re: character device driver

2001-02-13 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Warner Losh writes: In message [EMAIL PROTECTED] Luigi Rizzo writes: : In message [EMAIL PROTECTED] David Rufino writes: : : I'm writing a character device driver in which each minor device can be : : opened more than once. When a device is opened is there a way