Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 09:20:59 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        rwatson@FreeBSD.ORG
Cc:        arch@FreeBSD.ORG
Subject:   Re: Arch question for a UDF FS driver
Message-ID:  <200103011420.JAA00305@khavrinen.lcs.mit.edu>
In-Reply-To: <mit.lcs.mail.freebsd-arch/Pine.NEB.3.96L.1010301084659.65459C-100000@fledge.watson.org>
References:  <mit.lcs.mail.freebsd-arch/200103010510.WAA16907@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <mit.lcs.mail.freebsd-arch/Pine.NEB.3.96L.1010301084659.65459C-100000@fledge.watson.org> 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




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