From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 15:00:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 890BC16A41F for ; Wed, 21 Sep 2005 15:00:36 +0000 (GMT) (envelope-from njt@ayvali.org) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [204.89.131.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D2243D72 for ; Wed, 21 Sep 2005 15:00:27 +0000 (GMT) (envelope-from njt@ayvali.org) Received: (qmail 11673 invoked by uid 1003); 21 Sep 2005 15:00:46 -0000 Received: from clam.int.geekisp.com (HELO clam.geekisp.com) (192.168.4.38) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 21 Sep 2005 15:00:46 -0000 Received: from clam.geekisp.com (njt@localhost.geekisp.com [127.0.0.1]) by clam.geekisp.com (8.13.3/8.12.11) with ESMTP id j8LF0Qji008229 for ; Wed, 21 Sep 2005 11:00:26 -0400 (EDT) Received: (from njt@localhost) by clam.geekisp.com (8.13.3/8.13.3/Submit) id j8LF0PgG025614 for freebsd-questions@freebsd.org; Wed, 21 Sep 2005 11:00:25 -0400 (EDT) X-Authentication-Warning: clam.geekisp.com: njt set sender to njt@ayvali.org using -f Date: Wed, 21 Sep 2005 11:00:25 -0400 From: "N.J. Thomas" To: freebsd-questions@freebsd.org Message-ID: <20050921150025.GC17377@ayvali.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: programmatically getting mounts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 15:00:36 -0000 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