SunPCi User's Guide

Extended Hard Drives

An extended drive is actually a directory that gives you access to the Solaris file system from the SunPCi program. They can be accessed on your local system, or remotely across the network. With extended drives, you can share applications and data files. The SunPCi program permits up to 22 extended drives for storing applications and files.

There are three different kinds of extended drives:

Redirected Drives


Note –

Redirected drives work with DOS and Windows 95 only. Because Windows NT does not contain DOS, you will not be able to use redirected drives with Windows NT. If you are using Windows NT, skip this section.


A redirected drive is a drive that is mapped for you in DOS. The default extended drives F:, H:, and R: are redirected drives.These drives are automatically set up for you during SunPCi installation, and are named in your AUTOEXEC.BAT file. This means that you do not have to access drive F: manually in order to use the DOS commands it contains.

By default, SunPCi assigns the following extended drives:

If desired, you can use rem (remark) statements to remove the default drive mappings for H: and R: from your C:\autoexec.bat file and use them to mount other extended drives.

File System Drives

A file system drive is an extended drive that you map using Windows Explorer to directories on your Solaris file system. Unlike the redirected drives, file system drives can make full use of long file names in Windows 95 and Windows NT.

To map a file system drive in Windows 95, refer to Accessing Solaris Files and CD-ROMs From Windows 95.

To map a file system drive in Windows NT, refer to Accessing Solaris Files and Directories in Windows NT.

Network Drives

A network drive is also mapped through Windows Explorer, but it maps to locations on your network. To access Solaris files and CD-ROMs from Windows 95, you will need to map them as network drives as described Accessing Solaris Files and CD-ROMs From Windows 95.

If you are using Windows NT, the procedure for mapping network drives is different from that used in Windows 95.

Accessing Solaris Files and CD-ROMs From Windows 95

This section explains how to assign and use Solaris extended drives (network drives) with SunPCi and Windows 95 using the Windows Explorer.

To map a Solaris drive or directory to work with Windows 95, perform the following procedure:

  1. Click Start and select Programs and Windows Explorer from the pop-up menus.

    The Exploring screen is displayed.

  2. From the Tools menu, select Map Network Drive.

    The Map Network Drive dialog box is displayed.

  3. Click on the drop-down arrow to the right of the Drive: field.

    A list of unassigned drive letters is displayed on the drop-down menu.


    Note –

    Any extended drive that is already mapped in the autoexec.bat file (such as the default drives F:, H:, and R:) will appear on the list, but you cannot use them for mapping. If you attempt to re-map these drives, the system will return a Device not connected error.


  4. Scroll downward until you find the drive letter you want, and then click to select it.

    The drive letter is displayed in the Drive: field.

  5. Type the following path into the Path: field, substituting the names of your directory and subdirectory:


    \\directory\subdirectory, or
    \\directory\.
    

    For example, to map a Solaris CD-ROM to work with Windows, use this path:


    \\cdrom\cdrom0
    


    Note –

    A mapped path requires two components, so if you want to map a drive to a UNIX subdirectory component that has only one element, you will need to use a period (.) as the second element. For example:


    \\home\.
    



    Note –

    Do not use an asterisk in the mapping path, or Windows 95 will return a Device not connected error.


  6. If you want this extended drive to map automatically whenever you start up SunPCi, click the checkbox next to Reconnect at logon.

    Click OK. The new extended drive appears in the Exploring window.

Mapping a Drive Letter to a Directory with a Long Path in Windows 95

If you need to map a drive to a UNIX directory that contains more than two path elements (/directory/subdirectory/subdir2), you will need to use UNIX symbolic links. For example:

  1. Become root on your machine.

  2. Create a link from your root filesystem, substituting your path for the one shown in the following example. Type the following command and press Return:


    # ln -s /net/typicalmachine/files1/anydir /anydir
    

  3. Click Start and select Programs and Windows Explorer from the pop-up menus.

    The Exploring screen is displayed.

  4. From the Tools menu, select Connect Network Drive.

    The Map Network Drive dialog box is displayed.

  5. Click on the drop-down arrow to the right of the Drive: field.

    A list of unassigned drive letters is displayed on the drop-down menu.

  6. Scroll downward until you find the drive letter you want, and then click to select it.

    The drive letter is displayed in the Drive: field.

  7. Type the following path into the Path: field, substituting the names of your directory for anydir:


    \\anydir\.
    

  8. If you want this extended drive to map automatically whenever you start up SunPCi, click the checkbox next to Reconnect at logon.

  9. Click OK.

    The new extended drive appears in the Exploring window.

    Your network drive now maps to /anydir, which is a symbolic link to the destination directory /net/typicalmachine/files1/anydir.

Installing Windows 95 Applications on Extended Drives

You can install Windows 95 applications on either of your emulated drives (C: and D:), or on any of the drives that you create using Windows Explorer. Because of the DOS file name limitations on the default extended drives (F:, H:, and R:), you should avoid installing Windows 95 applications on the default extended drives. Refer to Extended Hard Drives for more information on the default extended drives.

Accessing Solaris Files and Directories in Windows NT


Note –

You do not have to map CD-ROMs in Windows NT. Windows NT contains a separate CD-ROM driver.


Because Windows NT allows you to map files and drives on your local machine or on other machines in your workgroup, you need to specify that a file system drive resides on your Solaris workstation.

To map a file system drive in Windows NT, perform the following steps:

  1. Click Start and select Programs and Windows NT Explorer from the pop-up menus.

    The Exploring screen is displayed.

  2. From the Tools menu, select Map Network Drive.

    The Map Network Drive dialog box is displayed.

  3. Click on the drop-down arrow to the right of the Drive: field.

    A list of unassigned drive letters is displayed on the drop-down menu.

  4. Scroll downward until you find the drive letter you want, and then click to select it.

    The drive letter is displayed in the Drive: field.

  5. Type the following path into the Path: field, substituting the names of your directory and subdirectory:


    \\localhost\directory\subdirectory
    

    For example, to map a drive to /home/joeuser on your Solaris workstation, use this path:


    \\localhost\home\joeuser
    

  6. If you want this drive to map automatically whenever you start up SunPCi, click the checkbox next to Reconnect at logon.

    Click OK. The new file system drive appears in the Exploring window the next time you open Windows NT Explorer.


    Note –

    You can map long directory paths (that is, paths with more than two elements) in Windows NT. For example, you can map the path \\localhost\usr\local\bin in Windowns NT without using a symbolic link, but you would need to use the link to map the same directory path in Windows 95.