Re: Socket buffer usage

2012-04-08 Thread Yoshihiro Ota
On Sun, 8 Apr 2012 01:01:01 +0200 Ivan Voras wrote: > On 7 April 2012 23:36, Vlad Galu wrote: > > This might not exactly be what you want, but struct kevent has a member > > called "data" which, > > for sockets and pipes, returns the number of available bytes to read (or > > write) for EVFILT_

Re: Fwd: mkuzip and/or geom_uzip changes?

2010-04-17 Thread Yoshihiro Ota
If you want to make a bootable FreeBSD CD, take a look at freesbie in ports. That's what the software does. I that doesn't satisfy you, you can start look into creating one on your own. I have a couple of suggestions. mkuzip copies the disk image. You really WANT to unmount before running it; ot

Re: 2 uni-directional TCP connection good

2009-03-24 Thread Yoshihiro Ota
On Mon, 23 Mar 2009 08:20:20 + (GMT) Robert Watson wrote: > > On Sun, 22 Mar 2009, Yoshihiro Ota wrote: > > >> On Fri, 20 Mar 2009, Yoshihiro Ota wrote: > >> > >>> 1. With TCP connections, only sender side can detect some communication > >&

Re: 2 uni-directional TCP connection good?

2009-03-24 Thread Yoshihiro Ota
On Fri, 20 Mar 2009 01:56:56 -0700 Michael David Crawford wrote: > Yoshihiro Ota wrote: > > > I saw a program that opens 2 TCP connections. > > One connection is only used for server to client messaging only > > and the other connection is used only for client to serve

Re: 2 uni-directional TCP connection good?

2009-03-22 Thread Yoshihiro Ota
On Fri, 20 Mar 2009 13:24:09 + (GMT) Robert Watson wrote: > > On Fri, 20 Mar 2009, Yoshihiro Ota wrote: > > > 1. With TCP connections, only sender side can detect some communication > > issues passively if happened. By using two connections, you lost that > &g

2 uni-directional TCP connection good?

2009-03-20 Thread Yoshihiro Ota
Hi forks. I have question on network programming. It will be nice if some could answer. I saw a program that opens 2 TCP connections. One connection is only used for server to client messaging only and the other connection is used only for client to server messaging. First of all, because TCP is

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Yoshihiro Ota
t the end, it is up to the implementer to pick up the solution. Regards, Hiro On Fri, 23 Jan 2009 12:09:03 +0100 (CET) Oliver Fromme wrote: > > Yoshihiro Ota wrote: > > Oliver Fromme wrote: > > > It would be much better to generate two lists: > > > -

Re: freebsd-update's install_verify routine excessive stating

2009-01-22 Thread Yoshihiro Ota
Hi. It's interesting. On Thu, 22 Jan 2009 13:17:41 +0100 (CET) Oliver Fromme wrote: > Hi, > > > So I would suggest to replace the whole pipe with this: > >awk -F "|" '$2 ~ /^f/ {print $2}' "$@" | >sort -u > filelist > > It would be much better to generate two lists: > - The list o

Re: gcache [was: Re: 3x read to write ratio on dump/restore]

2009-01-12 Thread Yoshihiro Ota
On Mon, 12 Jan 2009 11:41:11 +0100 Christoph Mallon wrote: > Yoshihiro Ota schrieb: > > Try GEOM Cache(gcache). > > Just a side note: gcache does not seem to have any documentation. "man > gcache" is unsuccessful, geom(8) does not mention it (geom and gcache >

Re: 3x read to write ratio on dump/restore

2009-01-12 Thread Yoshihiro Ota
Jermey, I tought you wrote this, http://lists.freebsd.org/pipermail/freebsd-hackers/2007-February/019666.html. Try GEOM Cache(gcache). It will be like, $ gcache create temp -s /dev/XXYsZ $ dump /dev/cache/temp <...> It's been 9 months since I tested so I don't remember about the detail numbe

Re: Introduction

2008-04-26 Thread Yoshihiro Ota
On Thu, 24 Apr 2008 19:46:02 -0400 David Forsythe <[EMAIL PROTECTED]> wrote: > Hello everybody, > > My name is David Forsythe and I'll be working on allowing parallel builds in > the > ports collection for Summer of Code this year. I'm a second year student at > the > University of Maryland, C

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Yoshihiro Ota
On Sat, 8 Mar 2008 22:18:32 +0200 Kostik Belousov <[EMAIL PROTECTED]> wrote: > On Sat, Mar 08, 2008 at 02:45:05PM -0500, Yoshihiro Ota wrote: > > Hello, folks, > > > > Has anyone tried to remote-debugging of a system running on Qemu? > > > > I thought if

Remote Kernel Debugging over QEMU?

2008-03-08 Thread Yoshihiro Ota
Hello, folks, Has anyone tried to remote-debugging of a system running on Qemu? I thought if I could attach kgdb from Qemu host to a guest FreeBSD running on Qemu, it would be very helpful for many reasons, i.e. no hardware requirements, avoid fscking all disks, and so on. Has anyone ever attemp

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Yoshihiro Ota
On Thu, 10 May 2007 22:03:22 -0400 Mike Meyer <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, Kris Kennaway <[EMAIL PROTECTED]> typed: > > On Thu, May 10, 2007 at 09:47:49PM -0400, Mike Meyer wrote: > > > Personally, I'd still like LOCALBASE to move out of /usr/local. Maybe > > > it's time t

Re: UTF-8 <-> UTF-16BE Converter in Kernel Needs Test

2006-08-12 Thread Yoshihiro Ota
You may try these patches, first. http://people.freebsd.org/~imura/kiconv/ It sounds like these patches implement better supports. Hiro On Sun, 13 Aug 2006 01:28:17 +0800 "Intron" <[EMAIL PROTECTED]> wrote: > I'm sorry that I send my experimental patch set here to call for test. > But if I send

Re: Is there compressed fs?

2006-04-20 Thread Yoshihiro Ota
On Wed, 19 Apr 2006 21:59:48 -0500 Yoshihiro Ota <[EMAIL PROTECTED]> wrote: > Is there a compressed file system available in FreeBSD? > > I tried "mdconfig -ocompress" but it doesn't seem saving any spaces. > Does anyone know what is the status of this, if it

Is there compressed fs?

2006-04-19 Thread Yoshihiro Ota
Is there a compressed file system available in FreeBSD? I tried "mdconfig -ocompress" but it doesn't seem saving any spaces. Does anyone know what is the status of this, if it works, and if so, how it works? Thanks, Hiro ___ freebsd-hackers@freebsd.org

[patch] mkuzip to compress without stat.st_size

2006-04-18 Thread Yoshihiro Ota
mkuzip and GEOM_UZIP has been quite useful to store files I change rarely myself such as /usr/src and /usr/ports. I now keep 6.1-RC1-src.uzip, 6.1-BETA4-src.zip and so on. If all of these were extracted, I would run out of i-nodes. One problem with mkuzip is it can only handle regular files but no