[comp.unix.internals] obtaining mntent structure from pathname

mtm@CAMIS.Stanford.EDU (Mike Macgirvin) (02/14/91)

	I am looking for an easy way of obtaining a mntent structure
for a device given a pathname on that device. This is SunOS4.1.1.
There has to be a better way than scanning through getmntent(), and trying
to determine if pathname is somehow related to mnt_dir.....


mtm@CAMIS.Stanford.EDU