LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
q to quit, <CR> to continue
ROOTSYS
/
|
------------------------------------
| | | |
| | | |
lib bin etc usr
U2SYS
/
|
/dev/u2-------------> ----------------------
| | |
cti miked yori
TWOSYS
/
|
------------------------------------
| | | |
| | | |
lib bin etc usr
|
/dev/u2-------------> ----------------------
| | |
cti miked yori
GO
It is usually an oversight rather
than a serious system error which
causes a system to be mounted as a
read only file system.
Note above the file system /dev/u2
mounted on the directory /usr.
As you recall from the System
Administrator tutorial, the
command to determine the status
of all mounted file systems is
mount. Please use it at the
prompt. We'll concentrate on a
single file system.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type mount
Please type mount
You will be helped this time!
$PROMPT$
FORGET1
mount
Please observe the result:
/dev/root on / read/write
/dev/u2 on /usr read
$PROMPT$
Note that the file system /dev/u2
is mounted as read only!
If indeed, read only was not the way
the file system was intended to be
mounted, you have to unmount the
file system and then mount it as a
read/write file system!
You must unmount the /dev/u2 file system first. The best
way to do this is to bring your system up in single-user
mode and modify the mount command for the /dev/u2 file in
the /etc/rc file. You can do this in the multi-user mode
as well, however, you have to make sure that no one uses
any files or directories on /u2!
Assuming that the system is in
multi-user mode and no
one is using the /dev/u2 file
system, please enter the command to
unmount the /dev/u2 file system!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type umount /dev/u2
Please type umount /dev/u2
You will be helped this time!
$PROMPT$
FORGET2
umount /dev/u2
Please observe the result:
$PROMPT$
Now let us mount the file system
without the r flag, thus making it
writable also. So please enter the
appropriate command to mount /dev/u2
on the /usr directory! Remember
/usr must be an empty directory if
a file system is to be mounted on it!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type mount /dev/u2 /usr
Please type mount /dev/u2 /usr
You will be helped this time!
$PROMPT$
FORGET3
mount /dev/u2 /usr
Please observe the result:
$PROMPT$
Now you can verify that indeed
the /dev/u2 file system is writable
as well, so please do so at the
prompt.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type mount
Please type mount
You will be helped this time!
$PROMPT$
FORGET4
mount
Please observe the result.
/dev/root on / read/write
/dev/u2 on /usr read/write
$PROMPT$