summaryrefslogtreecommitdiff
path: root/usr.sbin/installboot/installboot.8
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2010-01-14 17:49:31 +0000
committerdrochner <drochner@NetBSD.org>2010-01-14 17:49:31 +0000
commit79f027bbd6493b7fb048ae236987e2bcbc118f10 (patch)
treeaea1a582506e1b5db318bcfc3405e9d2b42e2b14 /usr.sbin/installboot/installboot.8
parentaa0d6833111230f3d5d93b26a96751f03c1f70b7 (diff)
On i386/amd64, define two flag bits in the boot parameters which control
whether modules are loaded and whether boot.cfg is evaluated, and set both to "off" per default in the PXE bootloader. Extend "installboot" to toggle the bits. This way, pxeboot works with existing dhcp server setups (and as described in the manpage) out of the box. Also, boot.cfg reading involves a stat() call which is horribly inefficient with the TFTP pseudo file system.
Diffstat (limited to 'usr.sbin/installboot/installboot.8')
-rw-r--r--usr.sbin/installboot/installboot.816
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.sbin/installboot/installboot.8 b/usr.sbin/installboot/installboot.8
index 775a498c591..08b771eab19 100644
--- a/usr.sbin/installboot/installboot.8
+++ b/usr.sbin/installboot/installboot.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: installboot.8,v 1.73 2009/05/07 07:09:49 lukem Exp $
+.\" $NetBSD: installboot.8,v 1.74 2010/01/14 17:49:32 drochner Exp $
.\"
.\" Copyright (c) 2002-2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 12, 2008
+.Dd January 11, 2010
.Dt INSTALLBOOT 8
.Os
.Sh NAME
@@ -305,6 +305,18 @@ disklabel should use no more than 4 partitions.
.Sy [ amd64 ,
.Sy i386 ]
Set the timeout before the automatic boot begins to the given number of seconds.
+.
+.It Sy modules
+.Sy [ amd64 ,
+.Sy i386 ]
+(Don't) load kernel modules.
+.
+.It Sy bootconf
+.Sy [ amd64 ,
+.Sy i386 ]
+(Don't) read a
+.Dq boot.cfg
+file.
.El
.
.It Fl t Ar fstype