From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 14 16:27:35 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 463D016A4CE for ; Fri, 14 Jan 2005 16:27:35 +0000 (GMT) Received: from mail-svr1.cs.utah.edu (mail-svr1.cs.utah.edu [155.98.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CC4643D1D for ; Fri, 14 Jan 2005 16:27:35 +0000 (GMT) (envelope-from saggarwa@cs.utah.edu) Received: from localhost (localhost [127.0.0.1]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id 7036F346FD for ; Fri, 14 Jan 2005 09:27:34 -0700 (MST) Received: from mail-svr1.cs.utah.edu ([127.0.0.1]) by localhost (mail-svr1.cs.utah.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05850-09 for ; Fri, 14 Jan 2005 09:27:34 -0700 (MST) Received: from faith.cs.utah.edu (faith.cs.utah.edu [155.98.65.40]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id 3377D346E0 for ; Fri, 14 Jan 2005 09:27:34 -0700 (MST) Received: by faith.cs.utah.edu (Postfix, from userid 4973) id 152CD2EC21; Fri, 14 Jan 2005 09:27:34 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by faith.cs.utah.edu (Postfix) with ESMTP id 0B6F134406 for ; Fri, 14 Jan 2005 16:27:34 +0000 (UTC) Date: Fri, 14 Jan 2005 09:27:33 -0700 (MST) From: Siddharth Aggarwal To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: amavisd-new at cs.utah.edu Subject: getting mount points in kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 16:27:35 -0000 Hi all, Is there a system call to get all the mount points? In a user app, I guess I would probably parse the /etc/fstab, but how do I do it in the kernel? TIA, Sid.