On 5/31/09, Jedrzej Kalinowski <kalin...@iem.pw.edu.pl> wrote:
> Hello,
>
> 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
>     &gzipfs_fsops,
> #endif
> #ifdef LOADER_BZIP2_SUPPORT
>     &bzipfs_fsops,
> #endif
>
> 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?

/etc/make.conf ?

-- 
Paul
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to