Re: Given an image, how can show its config?

From: Daniel Phillips (news-innominate.list.linux.kernel@innominate.de)
Date: Sat Sep 23 2000 - 10:57:29 EST


Keith Owens wrote:
> Daniel Phillips <news-innominate.list.linux.kernel@innominate.de> wrote:
> > I'd just like to remind you of Alan Cox's suggestion about appending
> > .config.gz to bzImage so that it doesn't get loaded into memory, and
> > my suggestion to put System.map.gz there as well.
>
> I worry about anything that increases the on disk size of bzImage, even
> if the extra data does not get loaded into kernel memory.
>
> 629590 2.2.16/arch/i386/boot/bzImage
> 786273 2.4.0-test8/arch/i386/boot/bzImage
>
> cat .config System.map | gzip | wc -c
> 107591
>
> That would take my 2.4.0 bzImage to 893864, it does not leave much room
> out of a 1.4Mb floppy for LILO files. We could have multiple make
> targets, with and without appended config/map but that just complicates
> the build environment.

This is no argument when talking about hard disks. You are talking
only about floppy disks. I think you are smart enough to leave out
the gzip files if you are building for a floppy.

The zipped .config is considerably smaller than the system map, only
about 4K in size. Surely you would have no problem with that?

> Anybody who loses their config and System.map will learn from their
> mistake and only do it once or they will never learn, in which case
> they are better off running Windows.
>
> "Think of it as evolution in action".

OK, I'm thinking about it that way. I concluded that somebody who
accidently selects both the 'bzImage includes System map' and 'bzImage
includes System config' options then complains that the boot file is
too big needs to be selected out.

Please note that when you're talking about idiots you're talking about
people like me and Alan, and we idiots resent that. ;-)

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:29 EST