Getting rid of pxeboot loader requests for .gz an .bz2 files
Paul B. Mahol
onemda at gmail.com
Mon Jun 1 01:04:57 UTC 2009
On 5/31/09, Jedrzej Kalinowski <kalinoj1 at iem.pw.edu.pl> wrote:
> I've got a FreeBSD CURRENT diskless boot set up.
> In the logs of tftpd-hpa I can see that every and each file from
> boot.4th to kernel modules is tried to be fetched in compressed format
> (.gz, .bz2) before it is loaded in its pure form by the pxe-enabled loader.
> So the sequence is: file.gz->file.bz2->file.
> I don't have compressed versions of these files in my environment, so I
> would like to get rid of these requests. Just to make my boot lighter -
> thus faster.
> I'm looking for some hints on how to do it in the sources and I only
> found it on lines 88 - 93 of /usr/src/sys/boot/i386/loader/conf.c, namely:
> #ifdef LOADER_GZIP_SUPPORT
> #ifdef LOADER_BZIP2_SUPPORT
> Is it the correct idea to:
> make -C /usr/src/sys/boot -DLOADER_NO_GZIP_SUPPORT
> -DLOADER_NO_BZIP2_SUPPORT .... ?
> Or is it the other place I should look for?
More information about the freebsd-hackers