From owner-freebsd-arch Thu Mar 1 6:21: 5 2001 Delivered-To: freebsd-arch@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 4DBAE37B71B; Thu, 1 Mar 2001 06:21:03 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id JAA00305; Thu, 1 Mar 2001 09:20:59 -0500 (EST) (envelope-from wollman) Date: Thu, 1 Mar 2001 09:20:59 -0500 (EST) From: Garrett Wollman Message-Id: <200103011420.JAA00305@khavrinen.lcs.mit.edu> To: rwatson@FreeBSD.ORG Subject: Re: Arch question for a UDF FS driver X-Newsgroups: mit.lcs.mail.freebsd-arch In-Reply-To: References: Organization: MIT Laboratory for Computer Science Cc: arch@FreeBSD.ORG Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you write: >There are, unfortunately, a few apps that make use of the inode >number returned by stat -- generally to try and detect hard links (I >think tar does this). As I have pointed out before, it is a requirement of POSIX that distinct files have distinct (device, inode) pairs. The individual st_dev and st_ino values are not required to have any particular meaning except when used together in this way. (So, it's possible to treat the pair of members as a single 64-bit quantity, should that be desired, provided that uniqueness can be guaranteed.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message