tech-embed archive

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

Re: Tests of mdsetimage -s



Yepp, that indeed sounds reasonable.

Btw, my init problem is solved.
Seems like running newfs before disklabel is the way to go...
I am mighty happy :)


On Sat, 2 Apr 2005 17:22:24 +0200
Jukka Salmi <j+nbsd%2005.salmi.ch@localhost> wrote:

> Marcin Jessa --> tech-embed (2005-04-02 11:09:39 +0000):
> > What would the -s flag of mdsetimage be used for ?
> 
> I think I got it:
> 
> If the root ramdisk and the image have the same size, it does not matter
> whether you specify the -s option to mdsetimage or not.
> 
> If the root ramdisk is larger than the image, you need to specify the -s
> option if you want to make it possible to extract (mdsetimage -x) the
> image from the kernel at a later point. If you didn't use -s, i.e. you
> didn't write the image size to the kernel, and then extract the image,
> you get the image plus the difference between the root ramdisk and the
> image size.
> 
> 
> Jukka
> 
> -- 
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~


-- 

Regards,
M. Jessa
http://www.yazzy.org




Home | Main Index | Thread Index | Old Index