From owner-cvs-all@FreeBSD.ORG Tue Mar 16 05:29:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E81D616A4CE; Tue, 16 Mar 2004 05:29:53 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50D4943D2D; Tue, 16 Mar 2004 05:29:53 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i2GDTpE9097437; Tue, 16 Mar 2004 14:29:51 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Maxime Henrion From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 16 Mar 2004 11:11:14 +0100." <20040316101114.GN35475@elvis.mu.org> Date: Tue, 16 Mar 2004 14:29:51 +0100 Message-ID: <97436.1079443791@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Tim Robbins Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc mount.2 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 13:29:54 -0000 In message <20040316101114.GN35475@elvis.mu.org>, Maxime Henrion writes: >Tim Robbins wrote: >> On Tue, Mar 16, 2004 at 01:45:38AM -0800, Tim J. Robbins wrote: >> >> > tjr 2004/03/16 01:45:38 PST >> > >> > FreeBSD src repository >> > >> > Modified files: >> > lib/libc/sys Makefile.inc mount.2 >> > Log: >> > Add fairly minimal documentation for the nmount() syscall. >> >> BTW, I am not at all happy with the fact that we have two syscalls >> to mount filesystems. One of them needs to go before 5-stable, >> and personally, I don't see the point of keeping nmount(). > >I entirely agree, and I actually feel quite guilty for that. I couldn't >find time to finish nmount and I'm the only one to blame here. I'm not >even particularly happy with how nmount(2) looks right now. I wanted to >remove nmount from the CVS repository, and suggested that to Poul, since >I wrote this code under his guidance some time ago now. He didn't want >me to remove the code so I just left it as is. The mount(2) systemcall is not scalable and we had already run out of magic bits in the arguments and several filesystems had to use weird tricks to bypass these limitations. nmount(2) solves these issues, and if anything, we should get nmount completed an nuke mount(2) before 5-stable. -- 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.