From owner-freebsd-arch@FreeBSD.ORG Sun Jun 25 21:36:07 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4688F16A40D for ; Sun, 25 Jun 2006 21:36:07 +0000 (UTC) (envelope-from andrew@areilly.bpc-users.org) Received: from omta02sl.mx.bigpond.com (omta02sl.mx.bigpond.com [144.140.93.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA5A243D6B for ; Sun, 25 Jun 2006 21:36:02 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from areilly.bpc-users.org ([141.168.7.22]) by omta02sl.mx.bigpond.com with ESMTP id <20060625213600.KXCJ20633.omta02sl.mx.bigpond.com@areilly.bpc-users.org> for ; Sun, 25 Jun 2006 21:36:00 +0000 Received: (qmail 93922 invoked by uid 501); 25 Jun 2006 21:36:05 -0000 Date: Mon, 26 Jun 2006 07:36:05 +1000 From: Andrew Reilly To: Bruce Evans Message-ID: <20060625213605.GA93766@duncan.reilly.home> References: <20060625011746.GC81052@duncan.reilly.home> <20060625013110.GA62237@troutmask.apl.washington.edu> <20060625020154.GA89358@gurney.reilly.home> <20060626002658.A65226@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060626002658.A65226@delplex.bde.org> User-Agent: Mutt/1.4.2.1i Cc: Steve Kargl , freebsd-arch@FreeBSD.org Subject: Re: What's up with our stdout? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 21:36:07 -0000 On Mon, Jun 26, 2006 at 01:10:38AM +1000, Bruce Evans wrote: > This doesn't seem to have anything to do with stdout. F_SETLKW just > seems to be broken on all regular files (and thus is unsupported for > all file types). The above works under the modified version of > FreeBSD-5.2 that I use, but it fails with the documented errno EOPNOTSUPP > under at least FreeBSD-6.0-STABLE. Replacing STDOUT_FILENO by fd = > open("foo", O_RDWR) gives the same failure. Replacing FSETLKW by > FSETLK or F_GETLK gives the same failure. Thanks for the clarification. Don't all of the databases rely on fcntl locks? How can this be broken? Cheers, -- Andrew