From owner-freebsd-hackers Sun Mar 25 2: 7:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 37FE437B71A; Sun, 25 Mar 2001 02:07:19 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2PA72346023; Sun, 25 Mar 2001 12:07:02 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: Peter Pentchev , Dima Dorfman , Gerald Pfeifer , freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: Displaying options for current NFS mounts In-Reply-To: Your message of "Sun, 25 Mar 2001 20:01:48 +1000." Date: Sun, 25 Mar 2001 12:07:02 +0200 Message-ID: <46021.985514822@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Bruce Ev ans writes: >On Sun, 25 Mar 2001, Peter Pentchev wrote: > >> > Only mount_foofs can reasonably know about the options for foofs. >> > perhaps mount(8) could fork-exec mount_foofs(8) to print options for >> > foofs. >> >> >> Or could mount(8) invoke a couple of sysctl's to get a string representation >> of each mountpoint's mount options? >> > >My bikeshed believes that string processing doesn't belong in the kernel :-). I tore down my version of that bikeshed after I saw what kind of bogosities it resulted in. Sometimes ascii is the right API. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message