Subject: Re: Tests of mdsetimage -s
To: Jukka Salmi <email@example.com>
From: Marcin Jessa <firstname.lastname@example.org>
Date: 04/02/2005 16:33:39
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 <email@example.com> 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.
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~