File System Type (statfs, sysfs)
Tim Roper
timr at labtam.OZ
Tue Jun 7 10:06:32 AEST 1988
In article <55038 at sun.uucp>, guy at gorodish.Sun.COM (Guy Harris) writes:
> > If you stat(2) a remote file you get the high order bit of st_dev
> > turned on so you can tell that it is remote if you want to. Also the
> > major number tells which machine it resides on. And the minor
> > number tells which filesystem on the remote machine the file
> > resides on.
>
> Note that, as far as I know, none of this is documented anywhere; therefore, it
> should be considered a quirk of the implementation, *not* a documented part of
> the interface. It happens to work under S5R3, but it may break someday.
It is described in
%T RFS Architectural Overview
%A Andrew P. Rifkin et al
%J USENIX Conference Proceedings
%C Atlanta, Georgia
%D June 1986
But, stat(2) in System V.3 Programmer's Reference Manual and stat(ba_os) in
SVID Issue 2 Volume 1 say that st_dev has no significance other than as
input to ustat(2) and ustat(ba_os) respectively.
D
More information about the Comp.unix.wizards
mailing list