Comtrol eCos User Manual
Page 420
Advertising
Chapter 21. Mount Table
The
data
field is a private data value. This may be installed either statically when the table entry is defined, or
may be installed during the
mount()
operation.
The
valid
field indicates whether this mount point has actually been mounted successfully. Entries with a false
valid
field are ignored when searching for a name match.
The
fs
field is installed after a successful
mount()
operation to point to the implementing filesystem.
The
root
field contains a directory pointer value that the filesystem can interpret as the root of its directory tree.
This is passed as the
dir
argument of filesystem functions that operate on rooted filenames. This field must be
initialized by the filesystem’s
mount()
function.
316
Advertising