]> 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 7c36c5385db3a9874cb570ce87d15c395639059b..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,9 +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.
+directory. This needs to be consistent with the
+.I homedir
+setting of
+.IR dhcpd .
 .I Tftpd
 supports only octet mode.
 .TP