cvs commit: src/etc/rc.d ramdisk ramdisk-own

Wes Peters wes at softweyr.com
Tue Apr 6 11:39:10 PDT 2004


On Tuesday 06 April 2004 11:26 am, Wes Peters wrote:
> wes         2004/04/06 11:26:43 PDT
>
>   FreeBSD src repository
>
>   Modified files:
>     etc/rc.d             ramdisk
>   Added files:
>     etc/rc.d             ramdisk-own
>   Log:
>   Split ramdisk processing in two so it can actually work.  Ownerships
>   and permissions specified per rc.conf(5) now apply both to the md
>   device and to the mountpoint directory, after the mount has completed.
>   This has to be done in two steps, because chown is not available
>   until after /usr has been mounted, but the mdconfig and newfs steps
>   have to complete before fstab processing.

Now that Brooks has split out dynamic creation of /var and /tmp for diskless 
systems, I wonder if we could profitably coalesce these?

Maybe not; the ramdisk silliness is mostly just to help people who want to 
use md's for small pools of high-speed cache, and is quite manual and 
simple about configuration, where Brooks' var and tmp processing is quite 
automatic.  Still, it bears some thinking.

-- 
         "Where am I, and what am I doing in this handbasket?"

Wes Peters                                              wes at softweyr.com




More information about the cvs-src mailing list