programmatically getting mounts?

N.J. Thomas njt at ayvali.org
Wed Sep 21 08:00:36 PDT 2005


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

-- 
N.J. Thomas
njt at ayvali.org
Etiamsi occiderit me, in ipso sperabo


More information about the freebsd-questions mailing list