Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 16:08:41 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        hackers@freebsd.org
Subject:   Re: fixing pipe stat
Message-ID:  <20020628230841.GD97638@elvis.mu.org>
In-Reply-To: <66756.1025305076@critter.freebsd.dk>
References:  <20020628223726.GC97638@elvis.mu.org> <66756.1025305076@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@critter.freebsd.dk> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628230841.GD97638>