]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/8/dhcpd
console(8): add console command and manpage
[plan9front.git] / sys / man / 8 / dhcpd
index 71b6b2ffe7792cc380fff60396a28ec557907505..082a28114270d7df8049433b11efc14270267a43 100644 (file)
@@ -5,8 +5,10 @@ dhcpd, dhcp6d, dhcpleases, rarpd, tftpd \- Internet booting
 .PP
 .B ip/dhcpd
 .RB [ -dmnprsSZ ]
+.RB [ -h
+.IR homedir ]
 .RB [ -f
-.IR ndb-file ]
+.IR ndbfile ]
 .RB [ -M
 .IR secs ]
 .RB [ -x
@@ -23,7 +25,7 @@ dhcpd, dhcp6d, dhcpleases, rarpd, tftpd \- Internet booting
 .B ip/dhcp6d
 .RB [ -d ]
 .RB [ -f
-.IR ndb-file ]
+.IR ndbfile ]
 .RB [ -x
 .IR netmtpt ]
 .PP
@@ -110,7 +112,7 @@ Attributes come from either the NDB entry for the system, the entry for its
 subnet, or the entry for its network.  The system entry has precedence,
 then the subnet, then the network.
 The NDB attributes used are:
-.TF ipmask
+.TF rootserver
 .TP
 .B ip
 the IP address
@@ -157,6 +159,21 @@ an SMTP mail server
 the default boot file;
 see
 .IR ndb (6)
+.TP
+.B tftp
+the TFTP server to fetch
+.I bootf
+from
+.TP
+.B rootpath
+the NFS root for unix machines
+.TP
+.B rootserver
+the NFS server used with
+.I rootpath
+.TP
+.B vendor
+Specific vendor attribute for dhcp and bootp
 .PD
 .PP
 .I Dhcpd
@@ -177,6 +194,18 @@ The options are:
 .B d
 Print debugging to standard output.
 .TP
+.B h
+Change directory to
+.IR homedir .
+The default is
+.BR / .
+This should match the
+.I homedir
+setting of
+.I tftpd
+so that the existence check of non-rooted file names
+is consistent.
+.TP
 .B f
 Specify a file other than
 .B /lib/ndb/local
@@ -277,23 +306,12 @@ The default is
 Change directory to
 .IR homedir .
 The default is
-.BR /lib/tftpd .
+.BR / .
 All requests for files with non-rooted file names are served starting at this
-directory with the exception of files of the form
-.BR xxxxxxxx.SUNyy .
-These are Sparc kernel boot files where
-.B xxxxxxxx
-is the hex IP address of the machine requesting the kernel and
-.B yy
-is an architecture identifier.
-.I Tftpd
-looks up the file in the network database using
-.I ipinfo
-(see
-.IR ndb (2))
-and responds with the boot file specified for that particular
-machine.
-If no boot file is specified, the transfer fails.
+directory. This needs to be consistent with the
+.I homedir
+setting of
+.IR dhcpd .
 .I Tftpd
 supports only octet mode.
 .TP