Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 12:38:10 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Dan Seguin <dseg@texar.com>
Cc:        FreeBSD Hackers <FreeBSD-Hackers@FreeBSD.ORG>
Subject:   Re: Vnodes and Pathnames
Message-ID:  <Pine.BSF.4.10.9911151236010.24265-100000@current1.whistle.com>
In-Reply-To: <Pine.BSF.4.05.9911151514580.48510-100000@pak2.texar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you can for VDIR as the getcwd call does so, but not for VREG becasue you
don't know the directory entry that you used to get to it.
(You could look in the name cache using a reverse lookup, but I don't know
that you are guaranteed of success.) PHK may have more to say on this
topic.


On Mon, 15 Nov 1999, Dan Seguin wrote:

> 
> 
> Hello Gurus, 
> 
> 
> Is there any way of getting filepath information from a vnode? What I'm
> looking for is pathname info for VDIR and VREG types, sort of a reverse
> namei().
> 
> Thanks!
> 
> 
> 
> --------------------------------------------------------------------------------
> Dan Seguin				    Texar Software, Corporation.
> 
>     The trouble with doing something right the first time is that nobody
> appreciates how difficult it was.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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?Pine.BSF.4.10.9911151236010.24265-100000>