Re: SCSI HBA device detection?

2000-06-25 Thread Kenneth D. Merry
On Fri, Jun 23, 2000 at 13:10:26 -0400, Nat Lanza wrote: I'm writing a SCSI HBA driver that simulates a bus with some ramdisk-backed disks attached to it. I've read through the HBA tutorial in Daemon News, but I'm still unsure how to tell the system about my pretend disk devices. I suspect

Re: disassembling

2000-06-25 Thread Boris Popov
On Sun, 25 Jun 2000, Chuck Robey wrote: Is there any tools whatever (free or commercial) that does disassembly on FreeBSD obj's AND will show you the C line and the code that the C line caused to be assembled? Yes, you can do it with the objdump utility which is in the base system.

Re: disassembling

2000-06-25 Thread Warner Losh
In message [EMAIL PROTECTED] Chuck Robey writes: : Is there any tools whatever (free or commercial) that does disassembly on : FreeBSD obj's AND will show you the C line and the code that the C line : caused to be assembled? Yes. man objdump. Warner To Unsubscribe: send mail to [EMAIL

No Subject

2000-06-25 Thread Shail Bains
unsubscribe freebsd-hackers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

VM coloring description in NOTES

2000-06-25 Thread Motomichi Matsuzaki
Hi. ** this discussion is for i386 architectures ** I think there is some unclearness on the description about VM subsystem coloring in NOTES (formerly called LINT). Currently, # Options for the VM subsystem #optionsPQ_NOOPT# No coloring options PQ_LARGECACHE

Re: your mail

2000-06-25 Thread Frederik Meerwaldt
Hi! Ever read the bottom of the mails?? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message Regardsm Freddy To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: sys/ufs/ufs/ufs_quota.c

2000-06-25 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], "clemensF" writes: Marius Bendiksen: the various quota routines, rather than a (struct proc *). As I can see from the code, chkdq(), for example, should rather be using an suser() check upon a process structure, than testing cred-cr_uid==0. Are there any

Measuring network-protocol implementation's performance

2000-06-25 Thread dungeonkeeper
Hi there, Recently we started implementing specific network protocols support code here. As a part of this process I would like to have the ability to measure the performance of the code and probably find a way to improve its speed once we have a working version. I would like to ask if

Re: disassembling

2000-06-25 Thread Chuck Robey
On Sun, 25 Jun 2000, Warner Losh wrote: In message [EMAIL PROTECTED] Chuck Robey writes: : Is there any tools whatever (free or commercial) that does disassembly on : FreeBSD obj's AND will show you the C line and the code that the C line : caused to be assembled? Yes. man objdump.

Re: Passing values between shell-variables

2000-06-25 Thread gerald stoller
Dan Nelson [EMAIL PROTECTED] resonded on Thu, 22 Jun 2000 17:42:37 -0500with In the last episode (Jun 22), gerald stoller said: I want to take an integer value from one shell-variable and pass a modified value to another shell-variable. First I tried setint_v (after using local

Re: sys/ufs/ufs/ufs_quota.c

2000-06-25 Thread Marius Bendiksen
[cred-cr_uid==0] this should be more portable and future-save, right? Isn't there an issue with NFS server side ? There might be. I have not looked at the NFS code. However, offhand, I do not see any reason why this should be the case, except for bugs in the code, given that any requrest with

RE: VM coloring description in NOTES

2000-06-25 Thread John Baldwin
On 25-Jun-00 Motomichi Matsuzaki wrote: Hi. ** this discussion is for i386 architectures ** I think there is some unclearness on the description about VM subsystem coloring in NOTES (formerly called LINT). Currently, # Options for the VM subsystem #optionsPQ_NOOPT

RE: libc_r/_read(), should the errno be reset to 0?

2000-06-25 Thread Garance A Drosihn
At 12:28 AM -0400 6/25/00, Chuck Robey wrote: On Fri, 23 Jun 2000, Bohne, Peter wrote: True enough. That's the best advice. However, your original post indicated an expectation on your part that errno would be somehow automatically reset to 0 before a system call, which is definitely

RE: VM coloring description in NOTES

2000-06-25 Thread Motomichi Matsuzaki
At Sun, 25 Jun 2000 12:07:38 -0700 (PDT), John Baldwin [EMAIL PROTECTED] wrote: Sounds ok to me. Do you have any patches for this? If not, I'll make some and see if they pass muster. I have no patches. I would put it in your hands. Thank you. -- Motomichi Matsuzaki [EMAIL PROTECTED]

Re: RE: VM coloring description in NOTES

2000-06-25 Thread Matthew Dillon
: PQ_HUGECACHE PQ_CACHE1024 : PQ_LARGECACHE PQ_CACHE512 : PQ_MEDIUMCACHEPQ_CACHE256 : PQ_NORMALCACHEPQ_CACHE64 : : and newly PQ_CACHE128 should be defined as default. : : Any ideas? : :Sounds ok to me. Do you have any patches for this? If not,

Re: Passing values between shell-variables

2000-06-25 Thread Dan Nelson
In the last episode (Jun 25), gerald stoller said: Sorry for leaving out info; local() and getint() are functions in the file var.c of pdksh as is setint_v() , which I also tried. I am using version 3.3 . struct tbl is a structure defined in the file table.h of pdksh . Probably soon

RE: libc_r/_read(), should the errno be reset to 0?

2000-06-25 Thread Chuck Robey
On Sun, 25 Jun 2000, Garance A Drosihn wrote: At 12:28 AM -0400 6/25/00, Chuck Robey wrote: On Fri, 23 Jun 2000, Bohne, Peter wrote: True enough. That's the best advice. However, your original post indicated an expectation on your part that errno would be somehow automatically

RE: VM coloring description in NOTES

2000-06-25 Thread Kelly Yancey
On Sun, 25 Jun 2000, John Baldwin wrote: currently - candidate PQ_HUGECACHE PQ_CACHE1024 PQ_LARGECACHE PQ_CACHE512 PQ_MEDIUMCACHEPQ_CACHE256 PQ_NORMALCACHEPQ_CACHE64 and newly PQ_CACHE128 should be defined as default.

Re: How many files can I put in one diretory?

2000-06-25 Thread Doug Barton
"Nicole Harrington." wrote: On 22-Jun-00 Luigi Rizzo wrote: Hello I have a user who needs to store a large amount of small html files. Like around 2 million... that sounds insane! Because a name is a name, why dont they call those files xx/yy/zz/tt.html and the like, to get

RE: libc_r/_read(), should the errno be reset to 0?

2000-06-25 Thread Garance A Drosihn
At 8:35 PM -0400 6/25/00, Chuck Robey wrote: On Sun, 25 Jun 2000, Garance A Drosihn wrote: At 12:28 AM -0400 6/25/00, Chuck Robey wrote: Why would you bother to clear it? You don't check errno to determine fail/success, you check the function return. If it returns fail, then errno