Date: Wed, 23 Jan 2002 09:18:15 +0100 (CET) From: Harti Brandt <brandt@fokus.gmd.de> To: Hyong-Youb Kim <hykim@cs.rice.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: uniquely identifying a file Message-ID: <20020123091619.W86919-100000@beagle.fokus.gmd.de> In-Reply-To: <Pine.GSO.4.33.0201221711520.2676-100000@vaud.cs.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jan 2002, Hyong-Youb Kim wrote: HK> HK>What would be a unique id of a file on a local system? Is the full path of HK>a file the only way to uniquely identify a file? Is there any place I can HK>get some info on the funtion textvp_fullpath? Thanks. Posix requires that a file is uniqualy identified by the st_dev, st_ino pair from struct stat. Under FreeBSD this will be true for local file systems. Dunno about NFS. See man 2 stat. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de 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?20020123091619.W86919-100000>