* Wayne Pascoe <[EMAIL PROTECTED]> [011222 17:13] wrote:
> Chad David <[EMAIL PROTECTED]> writes:
> 
> > > The issue that I am having is detecting valid filesystems to do
> > > further checks on. I am only interested in checking local filesystems
> > > such as UFS. 
> > 
> > Check for the MNT_LOCAL flag in f_flags.
> > 
> -- code example snipped --
> 
> Thanks for that. I've tried it and the problem with it is that it
> reports things like procfs and devfs as being local. The only things
> that don't appear local are things like nfs mounts.
> 
> I guess I need a way to check only filesystems mounted off of
> disks. Is there any way of doing this ? 

See GETFSENT(3).

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to