obtaining mntent structure from pathname

Mike Macgirvin mtm at CAMIS.Stanford.EDU
Thu Feb 14 08:46:29 AEST 1991


	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 at CAMIS.Stanford.EDU



More information about the Comp.unix.internals mailing list