In article
<[EMAIL PROTECTED]>, Robert
Watson <[EMAIL PROTECTED]> wrote:
> On Mon, 15 Nov 1999, Wes Peters wrote:
>
> > On a single system, if st_dev and st_ino are equal, you must be
> > referring to the same object.  If not, I'd like to hear about it.
>
> This assumption has always caused lots of pain and suffering for
> distributed file system people -- in a distributed file system, the
> requirement that you can generate a unique 32 bit number for each
> file or directory visible in the FS is a fairly arduous one.

I don't dispute that point, but it is worth mentioning that POSIX
specifically guarantees that st_dev and st_ino "taken together
uniquely identify the file within the system."  So it is OK for
applications to rely on that.

John
-- 
  John Polstra                                               [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to