Re: nvi for serious hacking

2005-10-24 Thread Matthew D. Fuller
On Mon, Oct 24, 2005 at 07:03:25AM +0200 I heard the voice of Andreas Klemm, and lo! it spake thus: Most favourite example: I personally still get mad if it comes to the u undo key. I miss :N. You have to :split and then :n separately. Standard vi lets you toggle your last change by

Re: Accessing USB Mass Storage Device

2005-10-24 Thread Daniel Rudy
At about the time of 10/23/2005 7:55 PM, Bernd Walter stated the following: On Sun, Oct 23, 2005 at 07:34:45PM -0700, Daniel Rudy wrote: At about the time of 10/20/2005 4:04 AM, Bernd Walter stated the following: On Tue, Oct 18, 2005 at 10:38:45PM -0600, M. Warner Losh wrote: In message:

Re: nvi for serious hacking

2005-10-24 Thread Simon 'corecode' Schubert
Matthew D. Fuller wrote: Most favourite example: I personally still get mad if it comes to the u undo key. I miss :N. You have to :split and then :n separately. Do you mean :sn? cheers simon -- Serve - BSD +++ RENT this banner advert +++ASCII Ribbon /\ Work - Mac +++

Re: in_cksum() for ip packets with multiple mbufs

2005-10-24 Thread Simon 'corecode' Schubert
kamal kc wrote: - final thing does this makes any difference (calling the htons() twice): ip-ip_id=htons(ip-ip_id); ip-ip_id=htons(ip-ip_id); on little endian machines: yes. on big endian machines: no. So don't do it. :) freebsd has several fields of the ip headerin

Re: How disable attachment of sio(4) driver to device?

2005-10-24 Thread Bernd Walter
On Sat, Oct 22, 2005 at 05:16:49PM +0200, Frank Behrens wrote: Warner, John and others, thanks for your fast responses. John Baldwin [EMAIL PROTECTED] wrote on 21 Oct 2005 12:16: But you could hack the sio(4) driver to check its IO port and return ENXIO if it has a certain value,

Re: How disable attachment of sio(4) driver to device?

2005-10-24 Thread Frank Behrens
Bernd Walter [EMAIL PROTECTED] wrote on 24 Oct 2005 14:32: PEI-16 design is evil IMO and PEI-10 capable BCU are less common. Yes, of course. I do not understand how an engineer could invent such a protocol like PEI-16. But now I have an RS-232 interface with BCU1 and I want to use it. It

Re: Re: where to release proc.p_stats

2005-10-24 Thread nocool
I didn't notice the UMA_ZONE_NOFREE flag of proc_zone, so proc items will not be recycled. But the existence of proc_fini really confused me. Another question? Can memory management system utilize COW to supply zero-filled page to kernel or user process. That is to say: When processes want

Native ATAPI MO driver

2005-10-24 Thread Jason Harmening
Hi, I have a 2.3G Fujitsu MO drive, and I've gotten tired of using atapicam to access it. I'm thinking of writing a native ATAPI driver that could be added to the kernel through a configuration line like: device atapimo I've been doing a little work to see how feasible this is--the kernel

Re: in_cksum() for ip packets with multiple mbufs

2005-10-24 Thread Giorgos Keramidas
On 2005-10-23 22:27, kamal kc [EMAIL PROTECTED] wrote: one thing i would like to ask? does it make any difference if i free the mbuf 'm' passed to if_output() and pass my own mbuf to if_output. is the original mbuf referenced by any other pointers or global variables ?? If you are hooking

Re: devinfo(3) problem...

2005-10-24 Thread victor cruceru
Daniel, What is the OS version you are using when this is happening? Did you try to update the libdevinfo (using cvsup for example) to a newer version? I think that under the original 5.4 it is a bug in devinfo(4) with the described behaviour below. -- Message: 5

Re: How disable attachment of sio(4) driver to device?

2005-10-24 Thread John Baldwin
On Saturday 22 October 2005 12:32 pm, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Frank Behrens [EMAIL PROTECTED] writes: : Another solution would be to have your driver use the tty layer : instead of banging the hardware directly, if that is compatible with : the

Re: Native ATAPI MO driver

2005-10-24 Thread Søren Schmidt
On 24/10/2005, at 3:49, Jason Harmening wrote: Hi, I have a 2.3G Fujitsu MO drive, and I've gotten tired of using atapicam to access it. I'm thinking of writing a native ATAPI driver that could be added to the kernel through a configuration line like: device atapimo I've been doing a

Re: How disable attachment of sio(4) driver to device?

2005-10-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Baldwin [EMAIL PROTECTED] writes: : Only if you make sure that sio(4) doesn't try to pass data between probe() and : attach() via the softc since the softc is preserved from probe to attach if : you return 0 from probe. sio's probe routine, now

FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-24 Thread Hans Petter Selasky
Hi, I have made an effort on making a FreeBSD 5/6/7 kernel emulator for NetBSD 2.x. Many device drivers are shared between these two operating systems, and I think a lot of work can be saved when it comes to porting code and patches forth and back. Currently this emulator makes my FreeBSD PCI

Is there any tools that can display TCP window size for current connections?

2005-10-24 Thread Patrick Dung
Hi Tcpdump can see windows size. But I want a tool that like netstat that list established connection, and with the sliding window size. Is there any tools out there for FreeBSD? __ This email has been checked for virus by