Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!nrl-cmf!cmcl2!brl-adm!adm!PETERS%MSSTATE.BITNET@cunyvm.cuny.edu
From: PETERS%MSSTATE.BITNET@cunyvm.cuny.edu (Frank Peters)
Newsgroups: comp.unix.questions
Subject: Determining if a given path is a file system.
Message-ID: <16377@brl-adm.ARPA>
Date: 4 Jul 88 07:43:31 GMT
Sender: news@brl-adm.ARPA
Lines: 12

Please forgive what is probably a childishly simple question.

Given a complete path, how do I determine if that path identifies
the mount point of a file system (from within a C program).  So
far the only solution I can find is to read the system mount
table.  It seems as if there should be a simpler way but I can't
seem to find one in my programmer reference manual.

Thanks in advance for any help.  Please send replies to me and I
will summarize to the list if interest warrents.

                        Frank Peters