X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Fman%2F4%2Ftftpfs;h=71cfb1ed632d3b92cbe6d59ba082e41e08bab8b0;hb=e35616cb661708bcd0c8680b8562e7dc44c7a1b9;hp=9aa9822b17f9665ec761032b88b0fa7e28c07291;hpb=61d1967e74a3796af55bc14ee81599696b86f3bb;p=plan9front.git diff --git a/sys/man/4/tftpfs b/sys/man/4/tftpfs index 9aa9822b1..71cfb1ed6 100644 --- a/sys/man/4/tftpfs +++ b/sys/man/4/tftpfs @@ -22,12 +22,12 @@ tftpfs \- trivial file transfer protocol (TFTP) file system serves files from a TFTP server as a filesystem. TFTP is mostly used by bootloaders to download kernel images for network bootstrap (see -.IR dhcp (8)). +.IR dhcpd (8)). As the protocol has no way of distinguishing files from -directories the final path segment needs to conain a dot +directories, the final path segment needs to conain a dot (.) character to be recognized as a file. To access files that have no dot in the filename, a trailing dot has to be added -and will be striped before it is passed to the server. +and will be stripped before it is passed to the server. .PP The .B -D @@ -55,17 +55,18 @@ option specifies an alternate network directory .BR /net.alt ). .PP The ip address of the server can be passed in -.I ipaddr -as the last program argument or in the mount spec (see +as the last program argument, +.I ipaddr, + or in the mount spec (see .IR bind (1)) on a per mount basis. .SH EXAMPLE -Boot a kernel from a tftp server. (note the final +Boot a kernel from a tftp server (note the final dot in the kernel path). .IP .EX -ip/tftpd 10.192.254.53 -echo reboot /n/tftp/386/9pcf. >/dev/reboot +ip/tftpfs 10.192.254.53 +echo reboot /n/tftp/386/9pc. >/dev/reboot .EE .SH SOURCE .B /sys/src/cmd/ip/tftpfs.c