桌面:System Adminisfration->Hardware/Kernal Manager
通过命令行,启动系统管理菜单并选择“Hardware/Kernal Manager
直接用命令行:MKDEV TAPE
如果不正确键入“Y”来修正。
例:以LH3安装SCO5.0.4为例:
安装磁带机:首先要确认硬件连接正确,在启动机器时,记住系统检测过程中提示的磁带机的SCSI ID号(缺省值为3)。进入UNIX系统,在系统维护状态(单用户状态)下配置磁带机,键入命令:mkdev tape屏幕显示:
1. Configure a SCSI or Enhanced IDE tape drive
2. Configure a different type of tape drive
Select an option or enter q to quit:
选择1
屏幕显示:
SCSI or Enhanced IDE Tape Drive Configuration Program
Select an option or enter q to return to main menu:
选择1
屏幕显示:
Enter the prefix of the SCSI host adapter that support this device or Press <Return> for the default: ‘amird@#Enter h for a list of host adapters or enter q to quit:
输入slha,然后回车
屏幕显示:
Which ‘slha@# SCSI host adapter support this device?Select 0-4, or enter q to quit:
输入0,回车
屏幕显示:
What SCSI Bus is this device attached to?
Press <Return> to use the default:0
Select 0-n, or h for help, or q to quit:
输入0,回车
屏幕显示:
What is the Target ID for this device?
Select 0-15, or h for help, or q to quit:
键入:3
屏幕显示:
What is the LUN of this device?
Press <Return> to use the default:0
Select 0-7, or h for help, or q to quit:
输入0,回车
屏幕显示:
You are about to add the following SCSI device:
Host
Adapter Adapter
Type Device Number ID LUN BUS
Alad stp 0 3 0 0
Update SCSI configuration?(y/n)
键入y
屏幕显示:
The SCSI configuration file has been updated.
Updating system configuration …
System files have been suclearcase/" target="_blank" >ccessfully updates.
Configuring Tape Driver ...(Stp)
Enter Vendor Identification string or press <Return> to use default
Or enter q to return to main menu:
键人Enter
屏幕显示:
Enter SCSI version that device is conformant to or press <Return> to use default or enter q to return to main menu:
键入 Enter
屏幕显示:
Enter Response Data Format that device uses or press <Return> to use default or enter q to return to main menu:
键入Enter
屏幕显示:
The following tape drive types are supported:
Please choose one of the above, press <Return> for default, or enter q to main menu:
键入4
屏幕显示:
Tape Driver Successfully Configured
Default special device have been created with the following links:
/dev/xct0 linked to /dev/xStp0
/dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b
/dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn
In /etc/default/boot:
No current boot string.
Enter New String, “rm” to remove string, or enter q to leave current string as is:
键入:q,屏幕显示:
SCSI or Enhanced IDE Tape Drive Configuration Program
1.Install a SCSI Tape Drive
2.Install an Enhanced IDE Tape Drive
3.Remove a SCSI Tape Drive
4.Remove an Enhanced IDE tape Drive
5.Change default Tape Drive
6.View Current SCSI and Enhanced IDE Tape Drive configuration
Select an option or enter q to return to main menu
键入q,屏幕显示:
Tape Drive Configuration Program
1. Configure a SCSI or Enhanced IDE tape drive
2. Configure a different type of tape drive
Select an option or enter q to quit:
键入q,屏幕显示:
You must create a new kernel to effect the drive change you specified Do you wish to create a new kernel now? (y/n)
键入y,屏幕显示:
Do you want this kernel to boot by default? (y/n)
键入 y,屏幕显示:
Do you want the kernel environment rebuilt? (y/n)
键入 y
安装完毕,重新引导系统,即可使用磁带机。
常用的磁带机读写命令
tar tvf /dev/rct0
tar cvf /dev/rct0 directory _name or filename
tar xvf /dev/rct0
cpio –icuvdmB