System Administration Guide, Volume I

Chapter 11 Guidelines for Using CDs and Diskettes (Overview)

This chapter provides general guidelines for using diskettes and CDs in the Solaris environment.

This is a list of overview information in this chapter.

Where to Find Managing Removable Media Tasks

Use these references to find step-by-step instructions for managing removable media.

For information on using removable media with File Manager in the OpenWindows environment or the Common Desktop Environment, see:

Features and Benefits

The Solaris environment gives users and software developers a standard interface for dealing with diskettes and CDs. Referred to as Volume Management, this interface provides three major benefits:

Comparison of Automatic and Manual Mounting

Table 11-1 compares the steps involved in manual mounting (without Volume Management) and automatic mounting (with Volume Management).

Table 11-1 Comparison of Manual and Automatic Mounting

Steps 

Manual Mounting 

Automatic Mounting 

Insert media. 

Insert media. 

Become superuser. 

For diskettes, use the volcheck command.

Determine the location of the media device. 

Volume Management automatically performs many of tasks previously required to manually mount and work with CDs and diskettes.

Create a mount point. 

 

Make sure you are not in the mount point directory. 

 

Mount the device using the proper mount options.

 

Exit the superuser account. 

 

Work with files on media. 

Work with files on media. 

Become superuser. 

 

10 

Unmount the media device. 

 

11 

Eject media. 

Eject media. 

12 

Exit the superuser account. 

 

What You Can Do With Diskettes and CDs

Essentially Volume Management enables you to access diskettes and CDs just as manual mounting does, but more easily and without the need for superuser access. To make diskettes and CDs easier to work with, they are mounted in easy-to-remember locations.

Table 11-2 How to Access Data on Diskettes and CDs

To Access ... 

Insert ... 

And Find The Files In ... 

Files on a diskette 

The diskette and enter volcheck

/vol/dev/aliases/floppy0

Raw data on a diskette 

The diskette and enter volcheck

/vol/dev/aliases/floppy0

Files on a CD 

The CD and wait for a few seconds 

/cdrom/cdrom0

If your system has more than one diskette or CD-ROM drive, see Table 11-3 for their access points.

Table 11-3 Where to Access Diskettes and CDs

Media Device 

Access File Systems On... 

Access Raw Data On... 

First diskette drive 

/floppy/floppy0

/vol/dev/aliases/floppy0

Second diskette drive 

/floppy/floppy1

/vol/dev/aliases/floppy1

First CD-ROM drive 

/cdrom/cdrom0

/vol/dev/aliases/cdrom0

Second CD-ROM drive 

/cdrom/cdrom1

/vol/dev/aliases/cdrom1