From owner-freebsd-current@FreeBSD.ORG Tue Mar 16 13:16:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DADCB16A4CE for ; Tue, 16 Mar 2004 13:16:22 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B46B43D2F for ; Tue, 16 Mar 2004 13:16:22 -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 i2GLGIbr001322; Tue, 16 Mar 2004 22:16:19 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Wes Peters From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 16 Mar 2004 10:03:01 PST." <200403161003.01889.wes@opensail.org> Date: Tue, 16 Mar 2004 22:16:18 +0100 Message-ID: <1321.1079471778@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: ramdisks revisited X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 21:16:23 -0000 In message <200403161003.01889.wes@opensail.org>, Wes Peters writes: >The guy who originally asked for the ability to control ownership and >permissions of his ramdisks discovered one critical flaw in my lovely >rc.d script: chown isn't in /sbin (or /rescue) on a vanilla 5.x system. > >As an alternative to moving binaries into the root filesystem, I propose >the following patch to mdconfig to add options to specify the ownership >and permissions of the newly attached md device. Options added are >-m mode, -g group, and -O owner (because -o and -u were both already used.) >I will, of course, update the man page before committing. Any objections? sounds OK with me. -- 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.