Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 11:00:25 -0400
From:      "N.J. Thomas" <njt@ayvali.org>
To:        freebsd-questions@freebsd.org
Subject:   programmatically getting mounts?
Message-ID:  <20050921150025.GC17377@ayvali.org>

next in thread | raw e-mail | index | archive | help
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@ayvali.org
Etiamsi occiderit me, in ipso sperabo



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