svn commit: r274398 - head/sys/boot/i386/loader

John Baldwin jhb at freebsd.org
Tue Nov 11 20:49:22 UTC 2014


On Tuesday, November 11, 2014 2:45:00 pm John Baldwin wrote:
> Author: jhb
> Date: Tue Nov 11 19:44:59 2014
> New Revision: 274398
> URL: https://svnweb.freebsd.org/changeset/base/274398
> 
> Log:
>   Move NFS and TFTP filesystems before the synthetic filesystems (bzip,
>   gzip, and split).  "Real" filesystems should always be listed first so
>   that the "bare" filename is tried before alternate filenames.  For PXE
>   booting in particular this can remove a lot of spurious pathname lookups.
>   
>   While here, move splitfs to the bottom after the bzip and gzip filesystems
>   as it is the least often used.

In particular, prior to this, a PXE boot would try the paths 
"loader.conf.split", "loader.conf.gz", "loader.conf.gz.split", 
"loader.conf.bz2", and "loader.conf.bz2.split" before "loader.conf".  Now it 
tries "loader.conf" first.

(Arguably we could remove splitfs entirely since we no longer support boot
floppies.  Not sure if it would still be useful in an embedded scenarios as it 
implicitly assumes you are replacing removable media.)

-- 
John Baldwin


More information about the svn-src-all mailing list