Performing Mounts and Unmounts 4-19

发表于:2007-07-04来源:作者:点击数: 标签:
Performing Mounts and Unmounts 4-19 3 . Use the fsck command on the / (root) partition to check and repair any potential problems in the file system. # fsck /dev/rdsk/c0t0d0s0 4 . If the fsck command is successful, mount the / (root) file s
Performing Mounts and Unmounts 4-19

3. Use the fsck command on the / (root) partition to check and repair
any potential problems in the file system.
# fsck /dev/rdsk/c0t0d0s0
4. If the fsck command is suclearcase/" target="_blank" >ccessful, mount the / (root) file system on
the /a directory to gain access to the file system on disk.
# mount /dev/dsk/c0t0d0s0 /a
5. Set and export the TERM variable, which enables the vi editor to
work properly.
# TERM=sun
# export TERM
6. Edit the /etc/vfstab file, and correct any problems. Then exit the
file.
# vi /a/etc/vfstab
:wq!
Performing Unmounts
7. Unmount the file system.
# cd /
# umount /a
8. Reboot the system.
# init 6

原文转自:http://www.ltesting.net