13 Jan 2010 19:56
Re: Nanobsd Memory Backed Disks
2010/1/14 M. Warner Losh <imp@...>: > In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@...> > David N <davidn04@...> writes: > : I've been poking around /etc/rc.diskless and other rc's. I can't seem > : to find what script loads the md. > : Its not in /etc/fstab > : > : Does anyone know where it is? > : Also how does nanobsd load the /etc into the md? newfs + cpio? > > The md driver is usually compiled into the kernel. /etc/rc.d/mdconfig > and /etc/rc.d/mdconfig2 configure the ram disks. /etc/diskless is > created as part of the build process, and /etc/rc.initdiskless does > all the copying magic. > > Warner > Thanks, I found what I was looking for. /conf/base/etc /conf/base/var the diskless file to enable md and md_size which determines the md size. It loads the files from there instead of the actual /etc (before the /dev/md mount) Regards(Continue reading)
RSS Feed