ramdisks revisited
Ruslan Ermilov
ru at freebsd.org
Wed Mar 17 05:28:27 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040317/89e11f69/attachment.bin
More information about the freebsd-current
mailing list