Technical article 102161

How to access a CD-ROM other than the CD-ROM defined as primary with SCO Merge 3.2.x?

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

SCO Merge Release 3.2.x includes the DOS utility, "mscdex", that is used to access and assign a drive letter for a DOS CD-ROM. SCO Merge only allows access to a single CD-ROM with that utility. By default, SCO Merge accesses the first or primary Unix CD-ROM (/dev/cd0).

How do I access a CD-ROM from MS Windows or DOS with SCO Merge?

How do I access a CD-ROM other than the first or primary Unix CD-ROM with SCO Merge using mscdex?

Also, how do I access a second or multiple CD-ROMs from MS Windows or DOS with SCO Merge?

Solution

To access a CD-ROM from MS Windows or DOS with SCO Merge, use the following command from a DOS prompt or edit autoexec.bat with that command line:

mscdex /d:mergecd1

The first or primary CD-ROM will by default be assigned drive letter "K":

MSCDEX Version 2.23 Copyright (c) Microsoft Corp. 1986-1993. All rights reserved Drive K: = Driver MERGECD1 unit 0

To access a CD-ROM other than the first or primary Unix CD-ROM with SCO Merge with mscdex, edit /etc/default/merge and modify the line "MERGE_CD_DEV_NAME=/dev/cd0" with the desired device node, such as "/dev/cd1", then start Merge/DOS or Merge/Windows.

To access a second or multiple CD-ROM from MS Windows or DOS with SCO Merge use the DOS "subst" command with the following steps:

1. Mount the CD-ROM with SCO UNIX before using the CD-ROM from DOS with the following Unix mount command:

mount -fDOS -olower /dev/<cd_device_node> /<mount_directory>

Or, if the CD-ROM is High Sierra format, use this command:

mount -fHS -olower /dev/<cd_device_node> /<mount_directory>

2. Start Merge/DOS and either use the DOS "subst" command at a DOS command line or edit autoexec.bat and use "subst" to assign a drive letter desired. For example, if the drive letter F: is available, add the following line to autoexec.bat:

subst F: D:\<mount_directory>
where F: is the drive letter assigned to a directory on D:
drive.  The "D:" drive is the Unix root directory, "/".
NOTE:     A default installation of Merge will limit the greatest drive letter
          that can be assigned by "subst" to be H:.  To use drive letters L:
          through Z:, edit config.sys with a "lastdrive=Z" statement.  Never
          assign C:, D: or J: to any directory or mount-point, as those drive
          letters are reserved for proper use of Merge.

See also

man pages cdrom(HW), dos(MERGE);
DOS HELP SUBST

From the Xinuos technical article database, record 102161. Reproduced with permission. The original is at www.sco.com/ta/102161, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.