Re: ramdisks revisited

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Wed, 17 Mar 2004 15:26:12 +0200
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 
> 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?
> 
Can't /etc/devfs.conf be used for just that?


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru_at_FreeBSD.org

Received on Wed Mar 17 2004 - 04:28:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC