On Wed, 2005-09-21 at 11:00 -0400, N.J. Thomas wrote:
> Short of grepping the output of mount or df, what is the best way to
> programmatically get a list of mounted filesystems?
> 
> I glance at sysctl shows nothing, and mounting linprocfs doesn't give a
> very "Linux-esque" listing -- just processes.
> 
> thanks,
> Thomas
> 

Try "man -S3 getmntinfo", because you said "programmatically".

,Adam

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to