Re: netgraph one2many question

2001-10-20 Thread Archie Cobbs
Milon Papezik writes: > I would like to extend ng_one2many module to include > automatic link failure datection, failover and FEC functionality. > > My question is: > Are interface nodes able to send upstream notification > that their state has changed or do I have to poll their status periodical

patch for review: multiple console support

2001-10-20 Thread Jonathan Lemon
This patch adds support for multiple simultaneous low level consoles to the kernel. In essence, it is equivalent to the -D flag in the /boot.config file. Support can be turned on by executing 'boot -D' from the loader, or by using the comcontrol program (which is appended to the end of the patc

where are kernel modules located?

2001-10-20 Thread Zhihui Zhang
Kernel modules are supposed to locate under /modules. It turns out we can find it under /. So where are kernel models located exactly? Thanks, -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: where are kernel modules located?

2001-10-20 Thread Warner Losh
In message Zhihui Zhang writes: : Kernel modules are supposed to locate under /modules. It turns out we can : find it under /. So where are kernel models located exactly? In -stable it is /modules (except for about 8 hours in the last few days whe

bash scripting help/suggestions.

2001-10-20 Thread Rod Person
I'm creating a bash script and I need to know if a directory exists and if it doesn't create it. So far the only why I can see to determine if a directory exists is to try to cd to it and if it doesn't exists trap the error. Is there a better way or a function that I am missing? If not how do y

Re: bash scripting help/suggestions.

2001-10-20 Thread Wilko Bulte
On Sat, Oct 20, 2001 at 05:35:45PM -0400, Rod Person wrote: man test(1) tells you how to check for a directory (and lots more BTW) mkdir -p might also interest you (see the mkdir man page) > I'm creating a bash script and I need to know if a directory exists and if it >doesn't create it. So fa

Re: bash scripting help/suggestions.

2001-10-20 Thread Rod Person
Thanks. That exactly what I needed. It was Sat, 20 Oct 2001 23:44:30 +0200 and I don't really know but somebody said: > On Sat, Oct 20, 2001 at 05:35:45PM -0400, Rod Person wrote: > > man test(1) tells you how to check for a directory (and lots more BTW) > > mkdir -p might also interest you (

Re: bash scripting help/suggestions.

2001-10-20 Thread Paul Halliday
on Sat, 20 Oct 2001, Rod Person wrote: > I'm creating a bash script and I need to know if a directory exists > and if it doesn't create it. So far the only why I can see to > determine if a directory exists is to try to cd to it and if it > doesn't exists trap the error. Is there a better way or

Re: truss vs ktrace

2001-10-20 Thread Dag-Erling Smorgrav
Arun Sharma <[EMAIL PROTECTED]> writes: > Another advantage of truss is that the output is "online" and interactive. > ktrace requires you to use kdump to view the trace. I certainly wouldn't call truss "interactive". As for "online", see the -l command-line option to kdump. DES -- Dag-Erling

Re: netgraph one2many question

2001-10-20 Thread Julian Elischer
Bill Paul has written a specific NETGRAPH FEC module... he has failover as well.. (it is only PART a netgraph module as it doesn;t use the netgraph hooks to talk to teh ethernet driver.. (strange)) I suggest you look for it in the archives or on http://www.freebsd.org/~wpaul/ On Sat, 20 Oct 20

Re: truss vs ktrace

2001-10-20 Thread Arun Sharma
On Wed, 17 Oct 2001 02:02:07 + (UTC), Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote: > Jim Pirzyk <[EMAIL PROTECTED]> writes: > > So which should I use? Why is there two around? I see that truss has > > less command line switches than ktrace, but it is a little bit more > > standard. > > -

Re: truss vs ktrace

2001-10-20 Thread Dag-Erling Smorgrav
Robert Watson <[EMAIL PROTECTED]> writes: > There are a fair number of differences, but from my perspective, one of > the primary ones is that truss relies on procfs, Truss could be easily be rewritten to use ptrace() instead of procfs. It'd be a lot slower though, because ptrace() can only retur