SunPCi User's Guide

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.