Re: ramdisks revisited

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 16 Mar 2004 22:16:18 +0100
In message <200403161003.01889.wes_at_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_at_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.
Received on Tue Mar 16 2004 - 12:16:22 UTC

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