Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 22:16:18 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Wes Peters <wes@softweyr.com>
Cc:        current@freebsd.org
Subject:   Re: ramdisks revisited 
Message-ID:  <1321.1079471778@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 16 Mar 2004 10:03:01 PST." <200403161003.01889.wes@opensail.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1321.1079471778>