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 ? 


-- 
- Wayne Pascoe
                                 | I laugh in the face of danger...
[EMAIL PROTECTED]          | Then I run and hide until it goes away!
http://www.molemanarmy.com       | 

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

Reply via email to