From owner-freebsd-current@FreeBSD.ORG Wed Mar 17 05:28:27 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 1FA3A16A4CE for ; Wed, 17 Mar 2004 05:28:27 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3563343D39 for ; Wed, 17 Mar 2004 05:28:26 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2HDVoW3077674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Mar 2004 15:32:51 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2HDQC8r017370; Wed, 17 Mar 2004 15:26:12 +0200 (EET) (envelope-from ru) Date: Wed, 17 Mar 2004 15:26:12 +0200 From: Ruslan Ermilov To: Wes Peters Message-ID: <20040317132612.GB95645@ip.net.ua> References: <200403161003.01889.wes@opensail.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <200403161003.01889.wes@opensail.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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: Wed, 17 Mar 2004 13:28:27 -0000 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 16, 2004 at 10:03:01AM -0800, Wes Peters wrote: > The guy who originally asked for the ability to control ownership and=20 > permissions of his ramdisks discovered one critical flaw in my lovely=20 > rc.d script: chown isn't in /sbin (or /rescue) on a vanilla 5.x system. >=20 > As an alternative to moving binaries into the root filesystem, I propose= =20 > the following patch to mdconfig to add options to specify the ownership= =20 > and permissions of the newly attached md device. Options added are=20 > -m mode, -g group, and -O owner (because -o and -u were both already used= =2E)=20 > I will, of course, update the man page before committing. Any objections? >=20 Can't /etc/devfs.conf be used for just that? Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAWFH0Ukv4P6juNwoRAqT+AJ92F+kxCxH4skERKGu4nxoLCjIMlACfZoCx HaHkoasgJYy9ys6rK7dwYYo= =4jyT -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN--