Reference Manual


mount - print or modify information in the syntactic namespace mapping table
unmount - remove an entry from the namespace mapping table.
mount [prefix device new_prefix]
unmount prefix
With no arguments, mount extracts information from the namespace prefix mapping table and displays it in readable form. Given three arguments, mount interprets them as a new entry to be added to the table. Argument prefix specifies a name mapping prefix. It can be a new prefix or an exact match for an existing prefix. Argument device is the name of a device to be used for this prefix or the special string SYSERR, which means that no thread can open a name that starts with that prefix. Finally, argument new_prefix specifies the replacement string for the entry.

Command mount always inserts a new item just before the first entry that would mask its effect.

Command unmount removes the entry that has a prefix matching prefix from the namespace mapping table.

The namespace mapping concept is described in the following reference:
Douglas Comer and Steven Munson: Operating System Design
Prentice-Hall, ISBN 0-13-638529-X
In NAT32, the namespace mapping concept has been applied to allow files, pipes, windows and even TCP connections to be referenced by name. For example, if a window called "Shell 1" exists, then typing the following command in the Console will print "This is a test" in that window:
echo "This is a test" > "Shell 1"

Note that names are case sensitive.


Edit this page