ramdisks revisited
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Mar 16 13:16:23 PST 2004
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.
More information about the freebsd-current
mailing list