Endeavour recognizes your system's filesystem configuration file
(typically /etc/fstab
), this is a formal and complete
listing of all devices configured on your system that are capable of
posessing a filesystem.
In addition, Endeavour has a device references list stored in the file:
$HOME/.endeavour2/devices.ini
.
The device references list contains additional information about each device not found in your system's filesystem configuration file.
Information from your system's filesystem configuration file is always loaded first, then additional information from Endeavour's device references are loaded afterwards. A device must be specified in both files in order for Endeavour to access it properly.
Before you set up Endeavour's device references, make sure that
the devices are properly configured on your system and specified in
your system's filesystem configuration file
/etc/fstab
.
To set up the device references, go to Device->Devices... You should then see the dialog shown below.
You can edit an existing device reference by selecting the device and then click on Edit... Or you can add a new device reference by selecting a device that you want to insert at and then click on Add...
You should only add a device reference if it cannot
be added into your system's filesystem configuration file
/etc/fstab
.
You should then see the dialog as shown below:
/etc/fstab
).
Icons for this device can be set by clicking on the
corresponding icon on the right column and then selecting
an .xpm
file. Each icon has a Standard, Selected,
and Unmounted state. In most cases you only need to set the Standard
icon. Endeavour comes with a set of commonly used icons located in:
/usr/share/endeavour2/icons/
Large icons are typically 48 by 48 pixels, medium icons are typically 32 by 32 pixels, and small icons are typically 20 by 20 pixels.
The specified Mount and Unmount commands will be used to
mount or unmount the device. These commands may vary
depending on the system that you are using. Type man mount
or man unmount
on a console to get more information on
how to specify the Mount and Unmount commands.
On Linux systems, to mount or unmount a device when
running Endeavour as a non-root user you need to first
edit /etc/fstab
and specify the
user
argument in the options list. For example, to make the
first floppy drive (/dev/fd0
) mountable by any user,
specify in /etc/fstab
:
![]() /etc/fstab
|
|
The above line would allow any user to mount or unmount the
device /dev/fd0
on the mount point
directory /mnt/fd0
.
For any device that you
want Endeavour to be able to to mount or unmount you
must specify that device in both the Endeavour device
references and in
/etc/fstab
.
On some systems you may
not specify an alias (such as a symbolic link) to reffer
to a device node. For example if
/dev/floppy
is
a symbolic link that reffers to /dev/fd0
then you
must specify /dev/fd0
(not the symbolic link
/dev/floppy
). If you use a symbolic link then
Endeavour may not be able to tell if the device is currently mounted
or not mounted.
Some devices may require that a driver or module be loaded before the device is mounted, this can present a problem for non-root users who are not allowed to load or unload drivers or modules. However, you can set things up so that a driver or module will be automatically loaded when a device that needs it is mounted.
On Linux, to automatically load a module when a device that needs
it is mounted, edit /etc/conf.modules
.
Below is an example that shows a set up for loading and unloading
modules for; an IDE CDROM (that is accessed using SCSI), an
IOMega Zip Drive, and a Printer connected to the same parallel port
cable as the IOMega Zip Drive.
![]() /etc/conf.modules
|
|
Once the device has been properly set up (on both the system
/etc/fstab
and the Endeavour device references), it
can be mounted in one of two ways:
To unmount a device, repeat the above step (notice that the Mount button or menu item becomes Unmount when the device is already mounted).
Do not forget to unmount the device before
you remove the media.
Endeavour Mark II is Copyright © 1997-2005 WolfPack Entertainment |