TFTPFS(4)                                               TFTPFS(4)

     NAME
          tftpfs - trivial file transfer protocol (TFTP) file system

     SYNOPSIS
          ip/tftpfs [ -D ] [ -s srvname ] [ -m mtpt ] [ -x net ] [
          ipaddr ]

     DESCRIPTION
          Tftpfs serves files from a TFTP server as a filesystem. TFTP
          is mostly used by bootloaders to download kernel images for
          network bootstrap (see dhcpd(8)). As the protocol has no way
          of distinguishing files from 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 stripped before
          it is passed to the server.

          The -D option enables 9P debugging messages.

          The -s option causes tftpfs to post the 9P service as
          /srv/srvname and disables the default mount.

          The default mountpoint /n/tftp can be changed with the -B
          mtpt option.

          The -x option specifies an alternate network directory
          (e.g., /net.alt).

          The ip address of the server can be passed in as the last
          program argument, ipaddr,
           or in the mount spec (see bind(1)) on a per mount basis.

     EXAMPLE
          Boot a kernel from a tftp server (note the final dot in the
          kernel path).

               ip/tftpfs 10.192.254.53
               echo reboot /n/tftp/386/9pc. >/dev/reboot

     SOURCE
          /sys/src/cmd/ip/tftpfs.c

     SEE ALSO
          dhcpd(8).

     Page 1                       Plan 9             (printed 3/29/24)