From owner-freebsd-hackers Fri Jun 28 16: 8:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4FCF37B405 for ; Fri, 28 Jun 2002 16:08:41 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F3B943E06 for ; Fri, 28 Jun 2002 16:08:41 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 52373AE211; Fri, 28 Jun 2002 16:08:41 -0700 (PDT) Date: Fri, 28 Jun 2002 16:08:41 -0700 From: Alfred Perlstein To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: fixing pipe stat Message-ID: <20020628230841.GD97638@elvis.mu.org> References: <20020628223726.GC97638@elvis.mu.org> <66756.1025305076@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66756.1025305076@critter.freebsd.dk> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Poul-Henning Kamp [020628 16:00] wrote: > In message <20020628223726.GC97638@elvis.mu.org>, Alfred Perlstein writes: > >Currently the pipe_stat routine doesn't return a unique st_dev/st_ino > >pair. If someone could suggest a method for grabbing a unique st_dev > >entry for all pipes in the system, then we could use the pipe's address > >in memory for the st_ino field. > > > >So how do I reserve a dev for the pipe code? > > pipes need device numbers ??? I thought it would be nice if the information returned from stat(2) on a pipe filedescriptor could be guranteed to have a unique dev/ino, I only need _one_ dev entry for all pipes though. If it's a stupid idea then nevermind. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message