tech-embed archive

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

Re: Tests of mdsetimage -s



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 ~



Home | Main Index | Thread Index | Old Index