Re: from number to power of two

1999-08-21 Thread Mark Murray
> Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %1101 should become either %1 or %

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Following my previous post: I wrote .. >I believe a reversed dataset would be partitioned >into two subpartitions sorted in order at the 1'st pass of >the partitionings. Is this incorrect ? > Sorry, I'd confirmed BSD qsort's partitioning logic does not guarantee that "a reversed dataset would be p

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Following my previous post: I wrote .. >I believe a reversed dataset would be partitioned >into two subpartitions sorted in order at the 1'st pass of >the partitionings. Is this incorrect ? > Sorry, I'd confirmed BSD qsort's partitioning logic does not guarantee that "a reversed dataset would be

Re: mmap mapped segment length

1999-08-21 Thread Matthew Dillon
:Now I've got to go figure out what *I've* screwed up. I fstat the file before :mapping it and pass S.st_size as the map length. Is there any reason why :mmap would return non-NULL but map less than the requested size? : :Scratching my head, Note that mmap() returns (void *)-1 when an error

Re: mmap mapped segment length

1999-08-21 Thread Matthew Dillon
:Wes Peters scribbled this message on Aug 21: :> Now I've got to go figure out what *I've* screwed up. I fstat the file before :> mapping it and pass S.st_size as the map length. Is there any reason why :> mmap would return non-NULL but map less than the requested size? : :no, there is NO reaso

Re: BSD voice synthesis

1999-08-21 Thread Dennis Moore
On Wed, Aug 18, 1999 at 03:44:56PM -0700, Brian F. Feldman wrote: > On Wed, 18 Aug 1999, Nik Clayton wrote: > > > On Tue, Aug 03, 1999 at 12:37:39AM -0700, Julian Elischer wrote: > > > Just fetched and compiled the "festival" package. > > > http://www.cstr.ed.ac.uk/projects/festival > > > > Likew

Re: mmap mapped segment length

1999-08-21 Thread Matthew Dillon
:Now I've got to go figure out what *I've* screwed up. I fstat the file before :mapping it and pass S.st_size as the map length. Is there any reason why :mmap would return non-NULL but map less than the requested size? : :Scratching my head, Note that mmap() returns (void *)-1 when an erro

Re: mmap mapped segment length

1999-08-21 Thread John-Mark Gurney
Wes Peters scribbled this message on Aug 21: > Now I've got to go figure out what *I've* screwed up. I fstat the file before > mapping it and pass S.st_size as the map length. Is there any reason why > mmap would return non-NULL but map less than the requested size? no, there is NO reason why it

Re: mmap mapped segment length

1999-08-21 Thread Matthew Dillon
:Wes Peters scribbled this message on Aug 21: :> Now I've got to go figure out what *I've* screwed up. I fstat the file before :> mapping it and pass S.st_size as the map length. Is there any reason why :> mmap would return non-NULL but map less than the requested size? : :no, there is NO reaso

Re: mmap mapped segment length

1999-08-21 Thread Wes Peters
Don Lewis wrote: > > On Aug 21, 2:10am, Wes Peters wrote: > } Subject: mmap mapped segment length > } I discovered to my dismay today that the length field in the mmap call is > } a size_t, not an off_t. I was attempting to process a large (~50 MByte) > file > } and found I was only processing

Re: BSD voice synthesis

1999-08-21 Thread Dennis Moore
On Wed, Aug 18, 1999 at 03:44:56PM -0700, Brian F. Feldman wrote: > On Wed, 18 Aug 1999, Nik Clayton wrote: > > > On Tue, Aug 03, 1999 at 12:37:39AM -0700, Julian Elischer wrote: > > > Just fetched and compiled the "festival" package. > > > http://www.cstr.ed.ac.uk/projects/festival > > > > Like

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Archie Cobbs wrote... >Christopher Seiwald writes: >> But as I'm proposing a change to a fairly sensitive piece of code, I'd >> like to keep the change as modest as possible. > >How about this? > >Index: qsort.c >=== >RCS fil

Re: mmap mapped segment length

1999-08-21 Thread John-Mark Gurney
Wes Peters scribbled this message on Aug 21: > Now I've got to go figure out what *I've* screwed up. I fstat the file before > mapping it and pass S.st_size as the map length. Is there any reason why > mmap would return non-NULL but map less than the requested size? no, there is NO reason why i

Re: mmap mapped segment length

1999-08-21 Thread Wes Peters
Don Lewis wrote: > > On Aug 21, 2:10am, Wes Peters wrote: > } Subject: mmap mapped segment length > } I discovered to my dismay today that the length field in the mmap call is > } a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > } and found I was only processing th

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Archie Cobbs wrote... >Christopher Seiwald writes: >> But as I'm proposing a change to a fairly sensitive piece of code, I'd >> like to keep the change as modest as possible. > >How about this? > >Index: qsort.c >=== >RCS fi

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Archie Cobbs wrote... >Christopher Seiwald writes: >> But as I'm proposing a change to a fairly sensitive piece of code, I'd >> like to keep the change as modest as possible. > >How about this? > >Index: qsort.c >=== >RCS fil

Re: anybody love qsort.c?

1999-08-21 Thread Akira Wada
Archie Cobbs wrote... >Christopher Seiwald writes: >> But as I'm proposing a change to a fairly sensitive piece of code, I'd >> like to keep the change as modest as possible. > >How about this? > >Index: qsort.c >=== >RCS fi

Re: from number to power of two

1999-08-21 Thread John-Mark Gurney
Nick Hibma scribbled this message on Aug 21: > Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. >

Re: mmap mapped segment length

1999-08-21 Thread John-Mark Gurney
Wes Peters scribbled this message on Aug 21: > I discovered to my dismay today that the length field in the mmap call is > a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > and found I was only processing the first 4 MBytes of it. as w/ others I'm assuming the file is

Re: pthread_set_concurrency()

1999-08-21 Thread Warner Losh
In message <199908211739.laa20...@mt.sri.com> Nate Williams writes: : Your definition of kernel threads and mine are obviously quite : different. :) True. The kernel "threads" are just process context that a task can run in Lots of thread-like things are missing... Warner To Unsubscribe:

Re: from number to power of two

1999-08-21 Thread Warner Losh
In message Nick Hibma writes: : Does anyone know an inexpensive algorithm (O(1)) to go from an number to : the next (lower or higher) power of two. 1 << ffs(x) Warner To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: from number to power of two

1999-08-21 Thread John-Mark Gurney
Nick Hibma scribbled this message on Aug 21: > Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. >

Re: mmap mapped segment length

1999-08-21 Thread John-Mark Gurney
Wes Peters scribbled this message on Aug 21: > I discovered to my dismay today that the length field in the mmap call is > a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > and found I was only processing the first 4 MBytes of it. as w/ others I'm assuming the file i

Re: pthread_set_concurrency()

1999-08-21 Thread Warner Losh
In message <[EMAIL PROTECTED]> Nate Williams writes: : Your definition of kernel threads and mine are obviously quite : different. :) True. The kernel "threads" are just process context that a task can run in Lots of thread-like things are missing... Warner To Unsubscribe: send mail to [

Re: from number to power of two

1999-08-21 Thread Warner Losh
In message <[EMAIL PROTECTED]> Nick Hibma writes: : Does anyone know an inexpensive algorithm (O(1)) to go from an number to : the next (lower or higher) power of two. 1 << ffs(x) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the messag

RE: from number to power of two

1999-08-21 Thread Don Read
On 21-Aug-99 Nick Hibma wrote: > > Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %110

RE: from number to power of two

1999-08-21 Thread Don Read
On 21-Aug-99 Nick Hibma wrote: > > Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %11

Re: mmap mapped segment length

1999-08-21 Thread Jason Thorpe
On Sat, 21 Aug 1999 02:10:47 -0600 Wes Peters wrote: > I discovered to my dismay today that the length field in the mmap call is > a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > and found I was only processing the first 4 MBytes of it. ...first of all, I ass

SCSI vs IDE with vinum

1999-08-21 Thread Chad David
I just setup vinum for the first time on a brand new server, nd I am getting what I think are strange results in performance tests with rawio. My SCSI drives seem to be much slower that my IDE drives? Here is a dmesg from the machine: ##

Re: pthread_set_concurrency()

1999-08-21 Thread Nate Williams
> > FreeBSD has no kernel 'thread' support, only user level. > > That's not strictly true. The fact is we have both kernel and user > threads but no mapping between the two... The kernel already > internally use some threads. Your definition of kernel threads and mine are obviously quite differen

Re: pthread_set_concurrency()

1999-08-21 Thread Ollivier Robert
According to Nate Williams: > FreeBSD has no kernel 'thread' support, only user level. That's not strictly true. The fact is we have both kernel and user threads but no mapping between the two... The kernel already internally use some threads. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -

Re: mmap mapped segment length

1999-08-21 Thread Jason Thorpe
On Sat, 21 Aug 1999 02:10:47 -0600 Wes Peters <[EMAIL PROTECTED]> wrote: > I discovered to my dismay today that the length field in the mmap call is > a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > and found I was only processing the first 4 MBytes of it. ..

Re: from number to power of two

1999-08-21 Thread Johan Karlsson
At Sat, 21 Aug 1999 12:54:32 +0200, Nick Hibma wrote: > >Does anyone know an inexpensive algorithm (O(1)) to go from an number to >the next (lower or higher) power of two. > >1 -> 1 >2,3-> 2 >4,5,6,7-> 4 >8,9,10,11,12,13,14,15 -> 8 >

Questions for vnconfig

1999-08-21 Thread Zhihui Zhang
I have successfully used vnconfig to add swap file and mount disk image files. However, I am still not sure about the following two things: (1) What does the count in "pseudo-device vn count" stand for? My guess is that if it is 2, then we can use /dev/vn0x and /dev/vn1x. If it is 1, then we can

Re: ATX power supplies

1999-08-21 Thread Chuck Robey
On Sat, 21 Aug 1999, Kevin Day wrote: > At 12:29 PM 8/21/99 -0400, Chuck Robey wrote: > >Anyone know where the spec might be for how ATX power supplies work > >(especially the interface to the motherboard, and their on'off methods?) > > > >Thanks. > > ftp://download.intel.com/design/motherbd/atx_

SCSI vs IDE with vinum

1999-08-21 Thread Chad David
I just setup vinum for the first time on a brand new server, nd I am getting what I think are strange results in performance tests with rawio. My SCSI drives seem to be much slower that my IDE drives? Here is a dmesg from the machine: #

Re: ATX power supplies

1999-08-21 Thread Kevin Day
At 12:29 PM 8/21/99 -0400, Chuck Robey wrote: Anyone know where the spec might be for how ATX power supplies work (especially the interface to the motherboard, and their on'off methods?) Thanks. ftp://download.intel.com/design/motherbd/atx_201.pdf See section 4.2 Kevin To Unsubscribe: se

Re: pthread_set_concurrency()

1999-08-21 Thread Nate Williams
> > FreeBSD has no kernel 'thread' support, only user level. > > That's not strictly true. The fact is we have both kernel and user > threads but no mapping between the two... The kernel already > internally use some threads. Your definition of kernel threads and mine are obviously quite differe

ATX power supplies

1999-08-21 Thread Chuck Robey
Anyone know where the spec might be for how ATX power supplies work (especially the interface to the motherboard, and their on'off methods?) Thanks. +--- Chuck Robey | Interests include any kind of voice or da

Re: pthread_set_concurrency()

1999-08-21 Thread Ollivier Robert
According to Nate Williams: > FreeBSD has no kernel 'thread' support, only user level. That's not strictly true. The fact is we have both kernel and user threads but no mapping between the two... The kernel already internally use some threads. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve!

Re: from number to power of two

1999-08-21 Thread Johan Karlsson
At Sat, 21 Aug 1999 12:54:32 +0200, Nick Hibma wrote: > >Does anyone know an inexpensive algorithm (O(1)) to go from an number to >the next (lower or higher) power of two. > >1 -> 1 >2,3-> 2 >4,5,6,7-> 4 >8,9,10,11,12,13,14,15 -> 8

Questions for vnconfig

1999-08-21 Thread Zhihui Zhang
I have successfully used vnconfig to add swap file and mount disk image files. However, I am still not sure about the following two things: (1) What does the count in "pseudo-device vn count" stand for? My guess is that if it is 2, then we can use /dev/vn0x and /dev/vn1x. If it is 1, then we ca

Re: ATX power supplies

1999-08-21 Thread Chuck Robey
On Sat, 21 Aug 1999, Kevin Day wrote: > At 12:29 PM 8/21/99 -0400, Chuck Robey wrote: > >Anyone know where the spec might be for how ATX power supplies work > >(especially the interface to the motherboard, and their on'off methods?) > > > >Thanks. > > ftp://download.intel.com/design/motherbd/atx

Re: ATX power supplies

1999-08-21 Thread Kevin Day
At 12:29 PM 8/21/99 -0400, Chuck Robey wrote: >Anyone know where the spec might be for how ATX power supplies work >(especially the interface to the motherboard, and their on'off methods?) > >Thanks. ftp://download.intel.com/design/motherbd/atx_201.pdf See section 4.2 Kevin To Unsubscribe:

ATX power supplies

1999-08-21 Thread Chuck Robey
Anyone know where the spec might be for how ATX power supplies work (especially the interface to the motherboard, and their on'off methods?) Thanks. +--- Chuck Robey | Interests include any kind of voice or d

Re: from number to power of two

1999-08-21 Thread Patryk Zadarnowski
> Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %1101 should become either %1 or %

Re: from number to power of two

1999-08-21 Thread Luigi Rizzo
> Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %1101 should become either %1 or %1

Re: from number to power of two

1999-08-21 Thread Leigh Hart
G'day Nick, Nick Hibma wrote: > > Does anyone know an inexpensive algorithm (O(1)) to go from > an number to the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %11

DMA-able memory

1999-08-21 Thread Nick Hibma
How do I allocate DMA-able memory? Or is all memory DMA-able? Like so: #include dma_addr = vtophys(addr); The UHCI (and OHCI) USB controllers use DMA to access the queues with the TransferDescriptors and QueueHeads. This is going to be loads of small (4 to 32 byte) mem

from number to power of two

1999-08-21 Thread Nick Hibma
Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 -> 1 2,3 -> 2 4,5,6,7 -> 4 8,9,10,11,12,13,14,15 -> 8 etc. So %1101 should become either %1 or %1000. The only solu

Re: from number to power of two

1999-08-21 Thread Patryk Zadarnowski
> Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %1101 should become either %1 or

Re: Kernel debugging questions

1999-08-21 Thread Assar Westerlund
Zhihui Zhang writes: > Thanks for your response. I can not think of those points myself. > However, on page 7 of the book "Panic! Unix system crash dump analysis", > it says that a debugger named kadb in SunOS can load the real kernel > during boot and treat the latter like a great, big, user pr

Re: from number to power of two

1999-08-21 Thread Luigi Rizzo
> Does anyone know an inexpensive algorithm (O(1)) to go from an number to > the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 -> 8 > etc. > > So %1101 should become either %1 or %

Re: from number to power of two

1999-08-21 Thread Leigh Hart
G'day Nick, Nick Hibma <[EMAIL PROTECTED]> wrote: > > Does anyone know an inexpensive algorithm (O(1)) to go from > an number to the next (lower or higher) power of two. > > 1 -> 1 > 2,3 -> 2 > 4,5,6,7 -> 4 > 8,9,10,11,12,13,14,15 ->

DMA-able memory

1999-08-21 Thread Nick Hibma
How do I allocate DMA-able memory? Or is all memory DMA-able? Like so: #include dma_addr = vtophys(addr); The UHCI (and OHCI) USB controllers use DMA to access the queues with the TransferDescriptors and QueueHeads. This is going to be loads of small (4 to 32 byte) me

from number to power of two

1999-08-21 Thread Nick Hibma
Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 -> 1 2,3 -> 2 4,5,6,7 -> 4 8,9,10,11,12,13,14,15 -> 8 etc. So %1101 should become either %1 or %1000. The only sol

Re: Kernel debugging questions

1999-08-21 Thread Assar Westerlund
Zhihui Zhang <[EMAIL PROTECTED]> writes: > Thanks for your response. I can not think of those points myself. > However, on page 7 of the book "Panic! Unix system crash dump analysis", > it says that a debugger named kadb in SunOS can load the real kernel > during boot and treat the latter like a

Re: Change to /sys/net/if.c & /sys/dev/syscons/syscons.c

1999-08-21 Thread Mark Murray
> So are there any _objections_ to having the kernel match promiscuous > "enabled" messages with "disabled" counterparts? I strongly _request_ such a log message. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majord...@freebsd.org with "unsubscr

Package creation without installation

1999-08-21 Thread Nik Clayton
-hackers, I'm playing around with the pkg_create(1) command at the moment, trying to get the creation of pre-built versions (HTML, PS, etc) of the FDP documentation working. One of the things I'm trying to do is *not* require that the doc that's being packaged up be installed first. For example,

Re: mmap mapped segment length

1999-08-21 Thread John S. Dyson
Don Lewis said: > On Aug 21, 2:10am, Wes Peters wrote: > } Subject: mmap mapped segment length > } I discovered to my dismay today that the length field in the mmap call is > } a size_t, not an off_t. I was attempting to process a large (~50 MByte) > file > } and found I was only processing the

Re: Change to /sys/net/if.c & /sys/dev/syscons/syscons.c

1999-08-21 Thread Mark Murray
> So are there any _objections_ to having the kernel match promiscuous > "enabled" messages with "disabled" counterparts? I strongly _request_ such a log message. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Package creation without installation

1999-08-21 Thread Nik Clayton
-hackers, I'm playing around with the pkg_create(1) command at the moment, trying to get the creation of pre-built versions (HTML, PS, etc) of the FDP documentation working. One of the things I'm trying to do is *not* require that the doc that's being packaged up be installed first. For example

Re: mmap mapped segment length

1999-08-21 Thread John S. Dyson
Don Lewis said: > On Aug 21, 2:10am, Wes Peters wrote: > } Subject: mmap mapped segment length > } I discovered to my dismay today that the length field in the mmap call is > } a size_t, not an off_t. I was attempting to process a large (~50 MByte) file > } and found I was only processing the fi

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-21 Thread Daniel C. Sobral
"Daniel C. Sobral" wrote: > > Terry Lambert wrote: > > > > That's kind of the point. No other VFS stacking system out there > > plays by FreeBSD's revamped rules. > > I look around and I see no standards. It is still time to be > experimental. Since someone complained of my meekness, let me res

Re: Async NFS exports?

1999-08-21 Thread Matthew Dillon
:The problem that occurs on the FreeBSD server is simply that the :nfsrv_commit() procedure calls fsync() on the file... on the *ENTIRE* :file, for every commit rpc, rather then syncing just the offset/range :requested. I am looking into ways to fix this. : Ok, I've verified

Re: anybody love qsort.c?

1999-08-21 Thread Nick Hibma
You can check the change by recompiling a few utils with the change: (find . -name \*.c | xargs grep -l qsort) ./bin/ps/ps.c ./contrib/gcc/*.c ./contrib/top/commands.c ./games/fortune/strfile/strfile.c ./gnu/usr.bin/sort/sort.c ./sbin/fsck/pass2.c The fsck one is a nice one. Just wack your /usr

Re: device_add_child??

1999-08-21 Thread Nick Hibma
man 9 device_probe_and_attach Nick On Sat, 21 Aug 1999, Warner Losh wrote: > In message <199908210557.baa22...@cs.rpi.edu> "David E. Cross" writes: > : I have been writing a nasty kludge to treat a CardBus bridge as a standard > : PCI bridge (with static config) . > > Ewe. Yuck. Wouldn't it

Re: mmap mapped segment length

1999-08-21 Thread Don Lewis
On Aug 21, 2:10am, Wes Peters wrote: } Subject: mmap mapped segment length } I discovered to my dismay today that the length field in the mmap call is } a size_t, not an off_t. I was attempting to process a large (~50 MByte) file } and found I was only processing the first 4 MBytes of it. 50 MB

Re: BSD XFS Port & BSD VFS Rewrite

1999-08-21 Thread Daniel C. Sobral
"Daniel C. Sobral" wrote: > > Terry Lambert wrote: > > > > That's kind of the point. No other VFS stacking system out there > > plays by FreeBSD's revamped rules. > > I look around and I see no standards. It is still time to be > experimental. Since someone complained of my meekness, let me re

mmap mapped segment length

1999-08-21 Thread Wes Peters
I discovered to my dismay today that the length field in the mmap call is a size_t, not an off_t. I was attempting to process a large (~50 MByte) file and found I was only processing the first 4 MBytes of it. Is this intentional, or just an artifact of the implementation? Is there any reason NOT

Re: anybody love qsort.c?

1999-08-21 Thread Nick Hibma
You can check the change by recompiling a few utils with the change: (find . -name \*.c | xargs grep -l qsort) ./bin/ps/ps.c ./contrib/gcc/*.c ./contrib/top/commands.c ./games/fortune/strfile/strfile.c ./gnu/usr.bin/sort/sort.c ./sbin/fsck/pass2.c The fsck one is a nice one. Just wack your /usr

Re: device_add_child??

1999-08-21 Thread Nick Hibma
man 9 device_probe_and_attach Nick On Sat, 21 Aug 1999, Warner Losh wrote: > In message <[EMAIL PROTECTED]> "David E. Cross" writes: > : I have been writing a nasty kludge to treat a CardBus bridge as a standard > : PCI bridge (with static config) . > > Ewe. Yuck. Wouldn't it be better to

Re: mmap mapped segment length

1999-08-21 Thread Don Lewis
On Aug 21, 2:10am, Wes Peters wrote: } Subject: mmap mapped segment length } I discovered to my dismay today that the length field in the mmap call is } a size_t, not an off_t. I was attempting to process a large (~50 MByte) file } and found I was only processing the first 4 MBytes of it. 50 MB

Re: Async NFS exports?

1999-08-21 Thread Matthew Dillon
:The problem that occurs on the FreeBSD server is simply that the :nfsrv_commit() procedure calls fsync() on the file... on the *ENTIRE* :file, for every commit rpc, rather then syncing just the offset/range :requested. I am looking into ways to fix this. : Ok, I've verified

mmap mapped segment length

1999-08-21 Thread Wes Peters
I discovered to my dismay today that the length field in the mmap call is a size_t, not an off_t. I was attempting to process a large (~50 MByte) file and found I was only processing the first 4 MBytes of it. Is this intentional, or just an artifact of the implementation? Is there any reason NO