Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!edsews!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: How to determine file being redirected to in C Message-ID: <1121@auspex.UUCP> Date: 6 Mar 89 02:27:46 GMT References: <10@sherpa.UUCP> <169@usource.UUCP> <1111@auspex.UUCP> <7869@chinet.chi.il.us> Reply-To: guy@auspex.UUCP (Guy Harris) Distribution: na Organization: Auspex Systems, Santa Clara Lines: 15 >Does st_dev become unique for each remote filesystem or does it just >get a bit set to indicate that it is remote? The SunOS version makes "st_dev" unique; it doesn't set a bit, it constructs the "st_dev" on the fly, based on local information. I don't know about the RFS version; life gets more complicated with RFS, since, as I remember, if you mount an RFS file system you also end up mounting all the file systems mounted on directories in that file system. If that's true, then you may have some headaches with those submounted file systems (and may also have RFS-mounted file systems not providing POSIX-compliant semantics; given that, AT&T will presumably fix that to work, somehow). (The same problem may exist with some of the changes that have been posted to make NFS servers do that - *caveat emptor*!)