Re: Setting the mss for socket

2009-04-03 Thread perryh
"Luiz Otavio O Souza" wrote: > Is there a way to set the mss for a socket ? Like you can do > in linux with setsockopt(TCP_MAXSEG) ? > > So i can set the maximum size of packets (or sort of) from a > simple userland program. Depending on exactly what you need to accomplish, you may find something

Re: watchdog: hw+sw?

2009-04-03 Thread Alexander Leidinger
Quoting Doug Ambrisko (from Thu, 2 Apr 2009 16:16:34 -0700 (PDT)): This worked well for us so I think it is a good idea. Also some HW watchdogs can be told to generate an NMI which can also produce a kernel dump/ddb prompt. I've also implemented some rough code to put an simplified back-tra

Re: Setting the mss for socket

2009-04-03 Thread Luiz Otavio O Souza
Is there a way to set the mss for a socket ? Like you can do in linux with setsockopt(TCP_MAXSEG) ? So i can set the maximum size of packets (or sort of) from a simple userland program. Depending on exactly what you need to accomplish, you may find something useful in this thread from last Augu

some questions about 32 bit / 64 bit

2009-04-03 Thread Harald Servat
Hello everybody, I have a laptop with a Centrino 2 Duo processor with 4GB of RAM and a dual VGA (one integrated in the mobo and an ATI Radeon). Now it uses the ATI Radeon, but if I set it to use the integrated VGA, the total free RAM drops to 3.X GB. I understand that this is due to sharing memo

Re: some questions about 32 bit / 64 bit

2009-04-03 Thread Ivan Voras
Harald Servat wrote: > My first issue is, I'm currently working with Linux and I'm planning to > switch to FreeBSD 7.1, but I don't know if switch to 32 or 64 bit (i.e., > i386 or amd64). If I switch to the 32 bit version, which is the memory limit On a server, switch to 64 bit. On a desktop

Re: some questions about 32 bit / 64 bit

2009-04-03 Thread Harald Servat
Hi again, 2009/4/3 Ivan Voras > Harald Servat wrote: > > > My first issue is, I'm currently working with Linux and I'm planning to > > switch to FreeBSD 7.1, but I don't know if switch to 32 or 64 bit (i.e., > > i386 or amd64). If I switch to the 32 bit version, which is the memory > limit > >

Re: watchdog: hw+sw?

2009-04-03 Thread Doug Ambrisko
Alexander Leidinger writes: | Quoting Doug Ambrisko (from Thu, 2 Apr 2009 | 16:16:34 -0700 (PDT)): | | > This worked well for us so I think it is a good idea. Also some HW | > watchdogs can be told to generate an NMI which can also produce a kernel | > dump/ddb prompt. I've also implemented s

Re: some questions about 32 bit / 64 bit

2009-04-03 Thread Gary Jennejohn
On Fri, 3 Apr 2009 15:27:53 +0200 Harald Servat wrote: > Hi again, > > 2009/4/3 Ivan Voras > > > Harald Servat wrote: > > > > > My first issue is, I'm currently working with Linux and I'm planning to > > > switch to FreeBSD 7.1, but I don't know if switch to 32 or 64 bit (i.e., > > > i386 or

Re: Setting the mss for socket

2009-04-03 Thread Julian Elischer
Luiz Otavio O Souza wrote: Is there a way to set the mss for a socket ? Like you can do in linux with setsockopt(TCP_MAXSEG) ? So i can set the maximum size of packets (or sort of) from a simple userland program. Depending on exactly what you need to accomplish, you may find something useful i

Re: some questions about 32 bit / 64 bit

2009-04-03 Thread Robert Noland
On Fri, 2009-04-03 at 14:45 +0200, Ivan Voras wrote: > Harald Servat wrote: > > > My first issue is, I'm currently working with Linux and I'm planning to > > switch to FreeBSD 7.1, but I don't know if switch to 32 or 64 bit (i.e., > > i386 or amd64). If I switch to the 32 bit version, which is t

Re: some questions about 32 bit / 64 bit

2009-04-03 Thread Kostik Belousov
On Fri, Apr 03, 2009 at 12:07:05PM -0500, Robert Noland wrote: > On Fri, 2009-04-03 at 14:45 +0200, Ivan Voras wrote: > > Harald Servat wrote: > > > > > My first issue is, I'm currently working with Linux and I'm planning to > > > switch to FreeBSD 7.1, but I don't know if switch to 32 or 64 bit

Is international support broken is msdosfs file system driver?

2009-04-03 Thread Yuri
I have a FAT disk written in Windows that has Chinese characters in file names. When I mount this disk without any special options I see question marks in place of Chinese characters. When I mount with options -D=CP950,-L=zh_TW.Big5 there are still some question marks and garbage characters. W

Re: bin/113860: sh(1): shell is still running when using `sh -c'

2009-04-03 Thread Jilles Tjoelker
I think this can be improved. Given that I've been digging in /bin/sh already... Note first that sh already has some of this functionality: % sh -c '{ echo a; sleep 10;}&'; sleep 1; ps T a PID TT STAT TIME COMMAND 94682 p9 Ss 0:00.07 zsh 94702 p9 S 0:00.00 sleep 10 94704 p