Technical article 102143

How do I configure and use a virtual DOS drive under SCO Merge?

OpenServer 5.0.0

Written · Last revised

Problem

How do I configure and use a virtual DOS drive under SCO Merge?

Solution

The following example is for a user called "auser", who is in a group called "agroup", and has a home directory of /u/auser:

1. Login as root, and add an entry to:

/usr/merge/admin/tokens
For example:
auserf:auserf.drv:auser's Virtual f Drive:
2. Create a new file:
/usr/merge/admin/auserf.drv
containing:
attachtype=drive
failureaction=warn
drivename=/u/auser/fdrive.dsk

3. Create a virtual disk called /u/auser/fdrive.dsk by running:

/usr/lib/merge/mkvdisk /u/auser/fdrive.dsk 1000

The above example will create a virtual disk 10000K in size.

4. Change the owner and group of the drive to match the user's name and group name:

chown auser:agroup /u/auser/fdrive.dsk

When "auser" now runs Merge, the virtual drive can be attached with:

dos +af:=/u/auser/fdrive.dsk

The above example attaches the drive as the "F" drive.

From the Xinuos technical article database, record 102143. Reproduced with permission. The original is at www.sco.com/ta/102143, 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.