Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-29 Thread Conrad Minshall
At 1:36 PM -0800 11/25/99, C. Stephen Gunn wrote: On Mon, Nov 22, 1999 at 02:07:58PM -0800, Alfred Perlstein wrote: Does NetBSD have a working rpc.lockd... that would make this much easier. at a glance at http://cvsweb.netbsd.org/... no. I'm fairly certain that rpc.lockd is included with

Re: Fwd: Re: kstat - an API for gathering kernel stats

1999-11-29 Thread Andrzej Bialecki
On Sun, 28 Nov 1999, Arun Sharma wrote: [ For some reason, this post through muc.lists.freebsd.hackers gateway didn't show up on the mailing list. Forwarding it to the mailing list.. ] On Thu, 04 Nov 1999 20:38:50 -0800, Mike Smith [EMAIL PROTECTED] wrote: I don't see any examples in

RE: cdrom speed adjustment ioctl

1999-11-29 Thread Koster, K.J.
I've just hacked a new ioctl into the ATAPI cdrom driver, which lets the user to specify (pronounce: ``slow down'' :) the speed of todays' extremely high speed drives. There would not be such a thing for SCSI cdrom's too? It would probably squeeze a few extra months out of my cdrom

Re: more softpower/apm..

1999-11-29 Thread Mitsuru IWASAKI
Hi, Bryan. Does anyone know if its possible for FreeBSD to execute a halt from the powerswitch? From reading the apmd doco, this is what apmd is suppose to do, handle events from the APM bios and execute according to apmd.conf If an ATX powersupply/motherboard is setup to suspend on

RE: cdrom speed adjustment ioctl

1999-11-29 Thread amobbs
There would not be such a thing for SCSI cdrom's too? It would probably squeeze a few extra months out of my cdrom player. On some cd's (mainly ones you get with magazines and books) it's making gut-wrenching noises and spinning up and down all the time. No idea if there's an ioctl, but you

Re: cdrom speed adjustment ioctl

1999-11-29 Thread Mike Bristow
On Mon, Nov 29, 1999 at 11:06:53AM +, [EMAIL PROTECTED] wrote: There would not be such a thing for SCSI cdrom's too? It would probably squeeze a few extra months out of my cdrom player. On some cd's (mainly ones you get with magazines and books) it's making gut-wrenching noises and

Re: new IPFW

1999-11-29 Thread Dag-Erling Smorgrav
[moving from -ipfw and -arch to -hackers] Tony Landells [EMAIL PROTECTED] writes: One concern I would have with that is that there are a lot of tools built on BPF that I would prefer to not be able to run on the firewall. Don't confuse BPF with promiscuous mode. BPF is simply a programmable

Re: new IPFW

1999-11-29 Thread Luigi Rizzo
The attached patch prevents switching into promiscuous mode when running in "Network secure mode" (securelevel 3 or higher). What happens with yout patch if i need to run an mrouted on such a machine ? cheers luigi To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: new IPFW

1999-11-29 Thread Dag-Erling Smorgrav
Luigi Rizzo [EMAIL PROTECTED] writes: The attached patch prevents switching into promiscuous mode when running in "Network secure mode" (securelevel 3 or higher). What happens with yout patch if i need to run an mrouted on such a machine ? It'll crash and burn, which demonstrates the

Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-29 Thread Matthew Dillon
:Well, I am starting to get pretty seriously involved. It looks pretty :easy, just a lot of small details (this is the kind of coding I like :) : :A couple of issues need to be worked out. First I need to backport :the FH open/stat/etc. calls to -STABLE. The main reason for this is that :...

Getting structures from kernelspace to userspace

1999-11-29 Thread Kevin Day
In the embedded system I'm working on, I have a need to get detailed hard drive information in a userland process. Specifically, I need the contents of all the values in wddrives[]. While I've made it work, I've run into a few difficulties. If someone thinks this is useful enough, I'll clean it

Re: SYN flood and freebsd?

1999-11-29 Thread Guy Helmer
On Mon, 29 Nov 1999, Mark D. Anderson wrote: i've searched around deja and freebsd.org and come up wanting (email archives show rarely show resolutions...). what is the current status in stable and latest regarding defense against SYN flood, and how is it implemented? i found some

random (6)

1999-11-29 Thread Alban Hertroys
I have a small patch that adds an option (-s) to the random command. It prints one random line out of every _denominator_ lines to stdout. For example, if you feed it an ls of /bin (32 files) to stdin, with "random -s 4" you will get series of 8 (=32/4) random filenames from /bin.

Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-29 Thread Dan Moschuk
| I'm fairly certain that rpc.lockd is included with Darwin from Apple, | I've not closely compared it to what we have in -STABLE or -CURRENT | to see if it actually works. | | It doesn't, sorry... if someone gets a *BSD version of NFS locking operating | I'd help see it into Darwin. | | BTW,

Re: new IPFW

1999-11-29 Thread Wes Peters
Dag-Erling Smorgrav wrote: Luigi Rizzo [EMAIL PROTECTED] writes: The attached patch prevents switching into promiscuous mode when running in "Network secure mode" (securelevel 3 or higher). What happens with yout patch if i need to run an mrouted on such a machine ? It'll crash

Linking causes sendmail gas

1999-11-29 Thread Robert Withrow
I've had this problem across the last two or three releases of FreeBSD. Currently I'm running: bash-2.03$ uname -sr FreeBSD 3.2-RELEASE And whenever I *link* a particular program, sendmail starts complaining! Nov 29 18:55:53 tuva sendmail[36003]: NOQUEUE: SYSERR: putoutmsg (NO-HOST):

Re: Human readable df

1999-11-29 Thread Chris Piazza
On Mon, Nov 29, 1999 at 11:04:36PM -0500, [EMAIL PROTECTED] wrote: Not sure if -hackers is the place for this, but here goes. Here's a patch to add -h flag to df to produce human readable output. This makes it easier to read if the disk is big. Example: [badmofo@/home/matt] df -h

Re: Human readable df

1999-11-29 Thread Chris Piazza
On Mon, Nov 29, 1999 at 09:39:53PM -0800, Chris Piazza wrote: Oops, plus the usage change which I forgot (of course). @@ -382,6 +463,6 @@ usage() { (void)fprintf(stderr, - "usage: df [-aikn] [-t type] [file | filesystem ...]\n"); + "usage: df [-ahikn] [-t type]

Re: Human readable df

1999-11-29 Thread Kris Kennaway
On Mon, 29 Nov 1999 [EMAIL PROTECTED] wrote: Not sure if -hackers is the place for this, but here goes. Here's a patch to add -h flag to df to produce human readable output. This makes it easier to read if the disk is big. You should submit this as a PR so it doesn't fall through the

Re: Human readable df

1999-11-29 Thread Warner Losh
In message [EMAIL PROTECTED] Warner Losh writes: : It also appears that this patch ignores blocksize, but maybe that's : something that I've missed somehow... Never mind this comment. It was my mistake. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Re: Human readable df

1999-11-29 Thread Warner Losh
Here's a slightly better patch. It tries harder to fill up the 5 digit field with as many sig figs as possible (always up to 3). It uses better constants for things than the magic numbers of the first patch. I've not tried to patch the man page yet. Also patched where the gross use of