Problem
When I try to quit out of mkdev tape, it still creates the special device files and applicable links. Choosing "q" to quit shows:
Tape Driver successfully configured Default special devices 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/0bnWhen I choose to view the current SCSI and Enhanced IDE tape drive configuration I see:
Unit Description0 Generic SCSI-1/SCSI-2 tape driveIf I try to remove this tape the system reports:
There are currently no SCSI tape drives configured in the
/etc/conf/cf.d/mscsi file. Do you wish to continue? Solution
To work around this problem, take these steps:
After aborting the mkdev tape routine with the "q" option,
do _not_ relink or rebuild the kernel. Instead,
cd to /etc/conf/pack.d/Stp and, using your favorite editor,
edit the space.h file.Remove the line at the end of the file after the last comments. The comments right before the line to be removed should look like this:
/*BEGIN SCO_STP ENHANCEMENTS*/The next line, the one to be removed, looks like this:
{ 0,0, -1, gen_Stp_route };It is followed by this line, which remains in the file:
/*End SCO_STP ENHANCEMENTS*/Save your changes and exit.Next, type "mkdev tape" and choose option 6 to verify that there are no longer any generic SCSI tape drives configured.