steved@longs.LANCE.ColoState.Edu (Steve Dempsey) (06/06/90)
I'm looking for a clean way to determine the mout point of a filesystem, given the name of a file -- something analogous to the BSD getmnt(2). What I'm really after is the name of an NFS server so I can call send an rpc request or other stuff directly to the server. I'm currently looking at the path and using getmntent(2) to find the mount point but this is highly inefficient. There must be a better way, maybe hidden under getfh(2), but the documentation there is minimal. BTW, this is 7.0 on a 9000s300. Thanks in advance for any clues, Steve Dempsey, Center for Computer Assisted Engineering Colorado State University, Fort Collins, CO 80523 +1 303 491 0630 INET: steved@longs.LANCE.ColoState.Edu, dempsey@handel.CS.ColoState.Edu UUCP: boulder!ccncsu!longs.LANCE.ColoState.Edu!steved, ...!ncar!handel!dempsey