LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
MVSYNTAX
COMMAND SYNTAX: mvdir old-dir new-dir
DEVNMTAB
root /
u1 /u
u2 /u/cti
SYSTREE
/ <-- /root file system
|
------------------------------------
| | | |
| | | |
lib bin etc u <-- /u1 file
| system
----------------------
| | |
cti miked yori
u2 -----------------> |
file ------------------------ root /
system | | | u1 /u
842 843 851 u2 /u/cti
GO
The command /etc/setmnt is used to make the file system
mount table that identifies the mounted file systems. The
/etc/setmnt command reads standard input and creates a
line entry in the /etc/mnttab table. This table is
needed by both the mount and umount commands.
The input lines to setmnt have the format:
file-system node
setmnt is normally invoked by /etc/rc when
the system boots up.
Let us assume that there are three file systems as shown
above.
Please use the /etc/devnm
command to obtain a listing of
all devices on which the three file
systems are mounted and pipe the
result into the /etc/setmnt
command which will add lines to the
/etc/mnttab table.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type devnm / /u1 /u2 | setmnt
Please type devnm / /u1 /u2 | setmnt
You will be helped this time!
$PROMPT$
FORGET1
devnm / /u1 /u2 | setmnt
Please note that do not see anything
besides the prompt when this command
is successful; devnm / /u1 /u2 would
produce the above result, which
setmnt would enter into /etc/mnttab.
$PROMPT$