Re: freebsd-5.4-stable panics

2005-10-07 Thread Don Lewis
On 3 Oct, Rob Watt wrote: > We noticed the patches from Don Lewis, but have not tested them yet. We > weren't sure if we could just apply those patches against 6.0-BETA5, or > whether we should wait for them to be MFC'd. Both HEAD and RELENG_6 have been patched. I've tested the following patch

Re: struct timeval: why is tv_sec long?

2005-10-07 Thread Peter Jeremy
On Fri, 2005-Oct-07 20:17:43 +0200, Andreas Kohn wrote: >As SUSv2 wants tv_sec to be time_t[1], would it be possible to change >this to time_t on all but alpha? I guess alpha will not receive a switch >to long anymore[2]. tv_sec and time_t are int on Alpha for compatability with Tru64. Since the

Re: struct timeval: why is tv_sec long?

2005-10-07 Thread Andreas Kohn
Hi, On Fri, 2005-10-07 at 09:28 -0700, Brooks Davis wrote: > On Fri, Oct 07, 2005 at 02:22:22AM +0200, Andreas Kohn wrote: > > Hi, > > > > is there any special reason for timeval.tv_sec being long? > > tv_sec is presumably long becuase that way 64-bit platforms end up with > timevals that don't s

Re: struct timeval: why is tv_sec long?

2005-10-07 Thread Brooks Davis
On Fri, Oct 07, 2005 at 02:22:22AM +0200, Andreas Kohn wrote: > Hi, > > is there any special reason for timeval.tv_sec being long? tv_sec is presumably long becuase that way 64-bit platforms end up with timevals that don't suffer from the 2038 bug. time_t is also long (or rather synonimous with

Re: How to duplicate a copy of all incoming and outgoing mail

2005-10-07 Thread Warren Block
On Tue, 4 Oct 2005, Patrick Dung wrote: It is system wide, not specific user (~/.forward) Is it possble with Sendmail? Yes. There are a couple of milters for sendmail that will bcc mail to another address. Here is one: http://www.snertsoft.com/sendmail/milter-bcc/index.shtml -Warren Bloc

Re: IPFW+DUMMYNET UPLOAD PROBLEM

2005-10-07 Thread Glenn Dawson
At 08:38 PM 10/5/2005, Daniel Dias Gonçalves wrote: I have the following rules: $fwcmd add 600 pipe 602 src-ip 192.168.0.0/24 out $fwcmd add 601 pipe 603 dst-ip 192.168.0.0/24 in $fwcmd pipe 602 config mask src-ip 0x00ff bw 128Kbit/s queue 10KBytes $fwcmd pipe 603 config mask dst-ip 0x00

vnode kernel panic when removed while nfs serves it (well don't do that then)

2005-10-07 Thread Dirk-Willem van Gulik
Certainly in the class of 'Doctor: If I poke in my eye it hurts; well don't do that then') - on FreeBSD -current as of today. Add /mnt to your exports file on an NFS server; and do: mdconfig -a -t vnode some-disk mount /dev/md0a /mnt killall -1 mountd .. let at l