Technical data
3. Copy a file from the root directory to the new device:
#cp/
filename file_name
.back1
Example
To copy file vmunix from the root directory to the H P5700_LU2 c device, enter:
cp /vmunix vmunix.back1
4. Copy a file to the new device again:
#cp/
filenamefile_name
.back2
Example
To copy the same file again, enter:
cp /vmunix v
munix.back2
5. List the files in the current directory :
Example
#ls–l
The vmunix.back1 and vmunix.back2 files should be sh own.
6. Delete the fil
es you copied:
#rm
file_name
Example
To remove the
file.
Tru64 is
Setting and verifying automatic mounting at bootup
The /etc/fstab file contains boot time mounting parameters for disk d evices.
1. Edit the /etc/fstab fi le after first making a backup copy of the file. Add a line for each new device
to be mount
ed.
Example
#vi /etc/fstab
/dev/dsk4a / ufs rw 1 1
/proc /proc procfs rw 0 0
/dev/
dsk12a /usr ufs rw 1 2
/dev/dsk12b swap1 ufs rw 0 2
/dev/dsk12c /HP57 00_LU2c ufs rw 1 3
Example explanation:
Device Mnt Point
File system
Options
(r/w)
Bac kup (no=0,
yes=1)
fsck order
/dev/dsk4 / ufs
rw
11
/proc /proc procfs
rw
00
/dev/dsk12a /usr ufs
rw
1
2
/dev/dsk12b
swap1
ufs
rw
02
/dev/dsk
12c
/HP700_L
U2c
ufs
rw
1
3
24
Installation