From owner-freebsd-hackers Sun Mar 25 2:49:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id DB68037B718; Sun, 25 Mar 2001 02:49:18 -0800 (PST) (envelope-from bp@butya.kz) Received: by relay.butya.kz (Postfix, from userid 1000) id 9CF8128D9A; Sun, 25 Mar 2001 17:49:14 +0700 (ALMST) Received: from localhost (localhost [127.0.0.1]) by relay.butya.kz (Postfix) with ESMTP id 8DEB32866F; Sun, 25 Mar 2001 17:49:14 +0700 (ALMST) Date: Sun, 25 Mar 2001 17:49:14 +0700 (ALMST) From: Boris Popov To: Peter Pentchev Cc: Bruce Evans , Dima Dorfman , Gerald Pfeifer , freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: Displaying options for current NFS mounts In-Reply-To: <20010325113649.D36335@ringworld.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 25 Mar 2001, Peter Pentchev wrote: > > Or could mount(8) invoke a couple of sysctl's to get a string representation > of each mountpoint's mount options? > This is not a bikeshed, but sysctl is the wrong interface to do this. Use VFSs/VOPs instead. This isn't a big problem with passing string from kernel to userland. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message