Subject: Re: Tests of mdsetimage -s
To: None <tech-embed@NetBSD.org>
From: Jukka Salmi <email@example.com>
Date: 04/02/2005 17:22:24
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
$ ((RANDOM%6)) || rm -rf ~