Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 14:59:05 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        src-committers@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r274398 - head/sys/boot/i386/loader
Message-ID:  <201411111459.05253.jhb@freebsd.org>
In-Reply-To: <201411111945.sABJj0xY072461@svn.freebsd.org>
References:  <201411111945.sABJj0xY072461@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411111459.05253.jhb>