poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Vlad Galu
Hello, Please take a look at the attached code. Shouldn't poll() get a POLLHUP event when the child process exits, closing the write end of the pipe? Thanks, Vlad poll.cpp Description: Binary data ___ freebsd-stable@freebsd.org mailing list http://lis

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Vlad Galu
Hm, according to the code at http://www.greenend.org.uk/rjk/2001/06/poll.html, it seems to work as expected (returning both POLLIN and POLLHUP), when closing the write end of the pipe from within the same process. On Wed, Jun 3, 2009 at 3:15 PM, Vlad Galu wrote: > Hello, > > Please take a look a

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Kostik Belousov
On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote: > Hello, > > Please take a look at the attached code. Shouldn't poll() get a > POLLHUP event when the child process exits, closing the write end of > the pipe? It seems that you code forgot to close the write end of the pipe in parent. Th

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Vlad Galu
On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov wrote: > On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote: >> Hello, >> >> Please take a look at the attached code. Shouldn't poll() get a >> POLLHUP event when the child process exits, closing the write end of >> the pipe? > > It seems that

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Vlad Galu
On Wed, Jun 3, 2009 at 3:35 PM, Vlad Galu wrote: > On Wed, Jun 3, 2009 at 3:32 PM, Kostik Belousov wrote: >> On Wed, Jun 03, 2009 at 03:15:32PM +0300, Vlad Galu wrote: >>> Hello, >>> >>> Please take a look at the attached code. Shouldn't poll() get a >>> POLLHUP event when the child process exits

Re: ZFS booting without partitions

2009-06-03 Thread Lorenzo Perone
OK, so I've got my next little adventure here to share :-) ... after reading Your posts I was very eager to give the whole boot-zfs-without-partitions thing a new try. My starting situation was a ZFS mirror made up, as I wrote, of two GPT partitions, so my pool looked like: phaedrus# zpool stat

Re: Do you use a value other than AUTO for network_interfaces?

2009-06-03 Thread Brooks Davis
On Tue, Jun 02, 2009 at 06:06:48PM -0500, Erik Osterholm wrote: > On Tue, Jun 02, 2009 at 12:20:34PM -0700, Doug Barton wrote: > > Up till Sunday in 8-current, and for a long time in general > > network.subr (part of the rc.d system) has emitted a warning that > > values of network_interfaces other

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Kostik Belousov
On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote: > Hm, I was having an issue with an internal piece of software, but > never checked what kind of pipe caused the problem. Turns out it was a > FIFO, and I got bitten by the same bug described here: > http://lists.freebsd.org/pipermail/freeb

Re: ZFS NAS configuration question

2009-06-03 Thread Philipp Wuensche
Dan Naumov wrote: > > Reading that made me pause for a second and made me go "WOW", this is how > UNIX system upgrades should be done. Any hope of us lowly users ever seeing > something like this implemented in FreeBSD? :) I wrote a script implementing the most useful features of the solaris live

On the topic of network_interfaces, optional full automatic renaming of interfaces

2009-06-03 Thread Ruben van Staveren
Hi lists, Now the topic of network_interfaces has been mentioned, and the freeze for 8-stable is near I wonder if there is enough interest in the following feature to be included: http://ruben.is.verweg.com/stuff/freebsd/ifrename/ There is some dust there in that directory (It works, but i

Re: ZFS NAS configuration question

2009-06-03 Thread Dan Naumov
Anyone else think that this combined with freebsd-update integration and a simplistic menu GUI for choosing the preferred boot environment would make an _awesome_ addition to the base system? :) - Dan Naumov On Wed, Jun 3, 2009 at 5:42 PM, Philipp Wuensche wrote: > I wrote a script implementing

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Kostik Belousov
On Wed, Jun 03, 2009 at 05:30:51PM +0300, Kostik Belousov wrote: > On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote: > > Hm, I was having an issue with an internal piece of software, but > > never checked what kind of pipe caused the problem. Turns out it was a > > FIFO, and I got bitten b

Re: Do you use a value other than AUTO for network_interfaces?

2009-06-03 Thread Angelo Turetta
Doug Barton wrote: If you use a value of network_interfaces other than AUTO please speak up so that we can make an intelligent decision about this issue. Maybe I am wrong, setting network_interfaces is the way I found I had to use to be able to rename cloned interfaces. eg: network_interfac

Re: Do you use a value other than AUTO for network_interfaces?

2009-06-03 Thread Brooks Davis
On Wed, Jun 03, 2009 at 06:18:01PM +0200, Angelo Turetta wrote: > Doug Barton wrote: >> If you use a value of network_interfaces other than AUTO please speak >> up so that we can make an intelligent decision about this issue. > > Maybe I am wrong, setting network_interfaces is the way I found I ha

Re: Do you use a value other than AUTO for network_interfaces?

2009-06-03 Thread Erik Osterholm
On Wed, Jun 03, 2009 at 09:13:21AM -0500, Brooks Davis wrote: > On Tue, Jun 02, 2009 at 06:06:48PM -0500, Erik Osterholm wrote: > > On Tue, Jun 02, 2009 at 12:20:34PM -0700, Doug Barton wrote: > > > Up till Sunday in 8-current, and for a long time in general > > > network.subr (part of the rc.d sys

Re: poll()-ing a pipe descriptor, watching for POLLHUP

2009-06-03 Thread Bruce Evans
On Wed, 3 Jun 2009, Kostik Belousov wrote: On Wed, Jun 03, 2009 at 05:30:51PM +0300, Kostik Belousov wrote: On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote: Hm, I was having an issue with an internal piece of software, but never checked what kind of pipe caused the problem. Turns out

mini-HEADSUP bce owners: please test

2009-06-03 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, David and I have committed some fixes to 7-STABLE tree, and I think all important bce(4) fixes has been merged now. If you have bce(4) interfaces PLEASE help us to test them, the simplest way of doing this is to sync your code with RELENG_7 and r

Re: mini-HEADSUP bce owners: please test

2009-06-03 Thread Pete French
> David and I have committed some fixes to 7-STABLE tree, and I think all > important bce(4) fixes has been merged now. If you have bce(4) > interfaces PLEASE help us to test them, the simplest way of doing this > is to sync your code with RELENG_7 and rebuild kernel. [1] I won't have timer to tr

Re: mini-HEADSUP bce owners: please test

2009-06-03 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete French wrote: >> David and I have committed some fixes to 7-STABLE tree, and I think all >> important bce(4) fixes has been merged now. If you have bce(4) >> interfaces PLEASE help us to test them, the simplest way of doing this >> is to sync you

RE: mini-HEADSUP bce owners: please test

2009-06-03 Thread David Christensen
> > David and I have committed some fixes to 7-STABLE tree, and I think > > all important bce(4) fixes has been merged now. If you have bce(4) > > interfaces PLEASE help us to test them, the simplest way of > doing this > > is to sync your code with RELENG_7 and rebuild kernel. [1] > > I won'

Update Account.

2009-06-03 Thread www . moneybookers . com
** THIS IS AN AUTOMATED EMAIL - . ** Dear Moneybookers Customer,: Due to concerns, for the safe

latest stable version of FreeBSD?

2009-06-03 Thread AES
Where can I download the latest stable version of FreeBSD? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: latest stable version of FreeBSD?

2009-06-03 Thread Glen Barber
On Wed, Jun 3, 2009 at 11:24 PM, AES wrote: > Where can I download the latest stable version of FreeBSD? http://www.freebsd.org/where.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ -- Glen Barber http://www.dev-urandom.com http://www.linkedin.com/in/glenjbarber __