SuSE GmbH

SuSE Support Database

Title: Mounting diskettes and CD-ROM drives

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Mounting diskettes and CD-ROM drives

Situation:

You want to use your diskettes and CD-ROMs.
You want to have fast and easy access to these devices in KDE.

Procedure:

Since SuSE Linux 6.0, the two folders /cdrom and /floppy are included by default in the root directory "/". Information on previous versions of SUSE Linux can be found here: Previous Linux versions.

If you want to use a diskette, place it in the floppy drive and type the following command.

tux@erde:/ > mount /floppy

You can now change to this drive with the command cd /floppy and access the data on that drive. Before removing the diskette from the drive, you will need to unmount the floppy, prior to unmounting the floppy you will need to exit out of the /floppy directory:

tux@erde:floppy/ > cd
tux@erde:/ > umount /floppy

For accessing the CDROM drive the same commands are used: mount and umount. The only difference is the parameters: instead of /floppy use /cdrom, for example:

tux@erde:/ > mount /cdrom
tux@erde:/ > umount /cdrom

Mount and umount with KDE - It is easy!

With KDE you can create desktop icons for devices that you want to mount, ie. diskette and CDROM drives. With just one mouse click on the CDROM icon, the CDROM is mounted and the KFM (File manager) is opened. By right-clicking on the icon, a drop down menu appears from which you can select the option to unmount the drive. The floppy drive is accessed the same way.

The following steps walk you through how to take advantage of this KDE feature.

  1. Click with the right mouse button on your desktop background. In the drop down menu select New, and in the second drop down menu select Device.
  2. You will be prompted to enter in the name of the icon. It is recommended that you use floppy.kdelnk for the floppy drive. Once this is completed, close the window by clicking on the OK button.
  3. A new icon should appear on you desktop. Click with the right mouse button on this icon. In the drop down menu that appears, select the option titled Properties. A new window should appear.
  4. In this new window you should select the last tab which is labled Device. Now you you are prompted for the path to the floppy device, in this example use: /dev/fd0. This text should be identical to the line in the file /etc/fstab which describes your floppy device. To select a particular image for your icon, you simply click on the images that appear in the lower portion of the window. Additional image choices will appear and can be selected simply by clicking on them. Note that you can choose different images depending on whether the device is mounted or unmounted. Click on the OK button to save the changes and exit.
  5. Place a diskette in the drive. Click the newly created icon once and a message window will appear indicating that drive is being mounted, and KFM will open.
  6. To remove the diskette, either close the KFM window, or leave the /floppy directory. Click with the right mouse button on "Floppy" icon and choose the command Unmount from the drop down menu. Then you are free to remove the diskette from the drive.
Creating icons for other removable devices is done in a similar fashion. For verification of correct device file names, please check the file /etc/fstab.

Prior Linux versions

If you are using a version SuSE Linux older that 6.0, You need to create the following folders as root.

root@erde:/ > mkdir /cdrom
root@erde:/ > mkdir /floppy

In addition, the file /etc/fstab must correctly specify on which interfaces your diskette and CDROM devices are connected. Naturally any modifications can only be accomplished while logged in as root user. Below is an example of the entries that must exist in /etc/fstab. In this example, there is a 3.5" floppydrive A and an ATAPI CDROM drive connected as a slave device on the secondary IDE port.

/dev/hdd    /cdrom         iso9660    ro,noauto,user  0   0
/dev/fd0    /floppy        auto       noauto,user     0   0

Additional information can be found on Mounting, Partitioning and configuring filesystems.

----------

See also:

----------

Keywords: MOUNTING, DISKETTES, CDROM-DRIVES, KDE, ZIP

----------

Categories: Hardware , CD-ROM , K Desktop Environment

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-mica_mount, Copyright SuSE GmbH, Nuremberg, Germany - Version: 14. Jan 1999
SuSE GmbH - Last generated: 07. Oct 1999 17:39:00 by maddin with sdb_gen 1.00.0