Skip site navigation (1)Skip section navigation (2)
Date:      22 Dec 2001 23:11:12 +0000
From:      Wayne Pascoe <freebsd@molemanarmy.com>
To:        Chad David <davidc@acns.ab.ca>
Cc:        , freebsd-hackers@FreeBSD.ORG
Subject:   Re: Repost - f_type value in statfs structure
Message-ID:  <86y9ju97fz.fsf@pan.home.penguinpowered.org.uk>
In-Reply-To: <20011205160251.A20136@colnta.acns.ab.ca>
References:  <86wv01tijn.fsf@pan.home.penguinpowered.org.uk> <20011205160251.A20136@colnta.acns.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad David <davidc@acns.ab.ca> 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...
freebsd@molemanarmy.com          | Then I run and hide until it goes away!
http://www.molemanarmy.com       | 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y9ju97fz.fsf>