Date: Wed, 21 Sep 2005 12:12:47 -0400 From: Adam Welch <adam.welch@epok.net> To: "N.J. Thomas" <njt@ayvali.org> Cc: freebsd-questions@freebsd.org Subject: Re: programmatically getting mounts? Message-ID: <1127319167.2740.5.camel@styrofoam.dyn.epokinc.com> In-Reply-To: <20050921150025.GC17377@ayvali.org> References: <20050921150025.GC17377@ayvali.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1127319167.2740.5.camel>