Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.shell Subject: Re: finding the filesystem of a file Keywords: filesystem search find file Message-ID: <4264@auspex.auspex.com> Date: 7 Nov 90 20:42:23 GMT References: <6500@emory.mathcs.emory.edu> <10243@jpl-devvax.JPL.NASA.GOV> <1990Nov6.195105.21043@cbnewsc.att.com> Distribution: usa Organization: Auspex Systems, Santa Clara Lines: 9 >Also, on SVR4 systems, [I know this doesn't help you Dave, just throwing >out some additional things] you can use the statvfs() call. > int statvfs(char *path, struct statvfs *buf); >The field buf->f_fstr will give the filesystem name. Assuming that's what the particular file system type puts there. The manual page describes it as a "file-system specific string", so a file system type could put a string giving its author's birthday there if it chooses to....