Subject: Re: st_dev for NFS files/dirs.
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 09/20/1995 18:44:29
>> Is there anyway of reliably determining from st_dev whether the
>> device is local or not?
> I was under the impresstion that st_dev was `undefined' for non-local
> filesystems ...

That can hardly be; otherwise there is _no_ way to reliably check
whether two files are the same.  The traditional way of comparing the
<st_dev,st_ino> pairs is useless if st_dev is undefined for nonlocal
filesystems.  And unlike the many other traditional ways that have been
broken by "modern" systems, there would be no substitute.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu