#1534 closed enhancement (fixed)

TFTP file system mount configuration

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 4.10
Component: fs Version: 4.10
Severity: minor Keywords:
Cc: Blocked By:
Blocking:

Description

Currently the TFTP file system is fixed to /TFTP and under that is the server name and the file. This fixed format does not sit well with a mount call/command that allows the file system to be under the control of the user.

This enhancement is to change the file system to allow mounting any where in the file system and to have the device or source field be the host plus any path. For example the mount command in the shell could be:

$ mount -t tftpfs rtems.org:/ftp/pub/rtems/SOURCE /source

This comment mounts the RTEMS source directory if rtems.org allowed TFTP access (which it does not) and source packages could be read from the local /source directory. For example 'cat /source/README'.

The current behavior could be achieved with the following shell commands:

$ mkdir /TFTP
$ mkdir /TFTP/10.10.10.10
$ mount -t tftpfs 10.10.10.10:/ /TFTP/10.10.10.10

with the difference being you need a mount for each server.

This change will also allow host names rather than just IP addresses.

Change History (2)

comment:1 Changed on Jun 23, 2010 at 5:08:29 AM by Chris Johns

Resolution: fixed
Status: assignedclosed

comment:2 Changed on Jun 23, 2010 at 5:08:39 AM by Chris Johns

Closed.

Note: See TracTickets for help on using tickets.