Win4Lin User's Guide

Drive Properties

If you are changing the properties of an attached drive, you will see that drive letter displayed in the Drive box.

If you are adding a new volume to your drive list, the drive letter displayed is the next one available. You can also use the arrows next to it to select a new drive letter.

NOTE: There are restrictions on what drive letters are used for which purposes. Refer to User's Guide chapter 4 topic ``Drive letter restrictions'' for a full explanation of the drive letter use restrictions.

Drive properties are different depending on the volume type you are configuring. So, you must first select the new volume type, if necessary, and then configure the rest of the properties.

Configuring a Linux File System Volume

Attaching a Linux File System volume allows you to access a portion of the Linux file system using your DOS or Windows session. You must use a drive letter below J for this. (And do not modify the settings for the J drive.)

The Personal Drive check box is used to designate this drive as your personal drive. This is the drive where your personal autoexec.bat and config.sys files are located. You can only have one drive designated as a personal drive. By default, your personal drive is drive C:. To use Windows, you must leave it set to this.

In the Directory box, you need to specify the Linux directory that will correspond to the root of the drive. You can either type in the full path name for the directory (using Linux syntax) or use the Browse button to find it.

Clicking on the Advanced options button displays various file-mapping and record-locking options that can be set for this drive. It is usually not necessary to change the default settings, but you might want to be aware of what they do in case you need to use them. See ``File name mapping options'' and ``Linux record locking options'' in the Win4Lin User's Guide for more information.

Configuring a DOS Drive

Attaching a DOS Drive volume will allow you to access a DOS file system (either a physical or a virtual DOS volume) using your DOS or Windows sessions.

From the list of available volumes, you need to select the one you want to attach to this drive. Native DOS volumes correspond to actual physical DOS volumes on your hard disk. $HOME/vdrive.dsk is a virtual DOS volume that has been preconfigured for each user. There may be other virtual DOS volumes in the list if they have been previously defined.

If you choose a virtual DOS volume for the first time, you will be prompted to create the actual Linux file where the DOS file system will be stored.


NOTE: To define a new virtual DOS volume, you or your system administrator needs to run Win4Lin Setup as a super user and use the
Device Definition option from the System-Wide Win4Lin Administration category.

Clicking on the Advanced option displays the following options:

Read Only
Select this option to prevent applications in this DOS or Windows session from updating the files on the volume.

Exclusive
Select this option to prevent applications in other DOS or Windows sessions from accessing files on the volume while this session is using it.
If neither Read Only nor Exclusive is selected, applications in this session have nonexclusive, read-write access to the files on the volume.

Configuring a CD-ROM drive

Attaching a CD-ROM drive allows you to access CDs using your DOS or Windows sessions.

If you are using Windows you can attach multiple CD-ROM drives to your session. If you are using DOS, you can attach only one CD-ROM drive. You should use drive letters above J for CD-ROM drives.

In the Device box, choose the Linux device name that corresponds to actual CD-ROM drive you want to use.

If your CD-ROM device is not listed, you can choose Other. A type-in box will then appear, and you can either type the device name (using the full Linux path) or use the Browse button to find it.