tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CF mounted on wd0



On Mon, Jun 27, 2005 at 10:47:23PM +0200, Marcin Jessa wrote:
> I guess I misunderstood something then, I'd need to just cp all the files to 
> my vnd and do not use a memory disk.
> What I wanted was one file with rootfs which would make it easier to upgrade 
> the system, uploading one kernel file and replacing the old one.

Now I understand. I _guess_ you could use an embedded ramdisk and

1) not specify MEMORY_DISK_IS_ROOT and/or
2) hardwire the root to wd0a using config netbsd root on wd0a type ffs
   as hubertf suggested.

I think you should then have a /dev/md0a to union-mount on top of the
read-only /dev/wd0a. I didn't try this. It looks like a nice idea.

I am currently using the whole-system-in-a-ramdisk approach which chews
about 40M of RAM but leaves the CF completely untouched once booted.
This allows for dd'ing over it on the running system. It also allows me
to use kernels from completely different NetBSD versions and with
potentially different filesystems for the embedded ramdisk. Just FYI.

Regards,

ND



Home | Main Index | Thread Index | Old Index