Solaris Transition Guide

Using Volume Management

Beginning with the Solaris 2.2 release, a new layer of software manages CD-ROM and diskette devices -- Volume Management. This software automates the interaction between you and your CDs and diskettes.

The OpenWindows and CDE File Manager applications have been modified to use Volume Management to provide immediate user access to CDs and diskettes with file systems. See OpenWindows User's Guide for more information on File Manager's new features.

There are also several new commands to help you administer Volume Management on your system.

Volume Management automatically mounts CD and diskette file systems when removable media is inserted into the devices. Any CD or diskette file system will be automatically mounted in the locations described in Table 7-2.

Table 7-2 Location of CD-ROM and Diskette With a File System

Media 

Location 

CD

/cdrom/cdrom_name

Diskette

/floppy/floppy_name

If the CD or diskette does not contain a file system, it will be accessible in the locations described in Table 7-3.

Table 7-3 Location of CD-ROM and Diskette Without a File System

Media 

Location 

CD

/vol/dev/aliases/cdrom0

Diskette

/vol/dev/aliases/floppy0

For security reasons, these file systems are mounted setuid. See the mount(1M) man page for a description of this and other mount options.

For more information on configuring Volume Management and on using diskettes and CDs, see System Administration Guide, Volume I.

Man pages for Volume Management components are also available. See rmmount(1), rmmount.conf(4), volcancel(1), volcheck(1), vold(1M), volmgt(3), vold.conf(4), volfs(7), and volmissing(1).


Note -

Volume Management now controls these CD-ROM paths: /dev/dsk/c0t6d0s0 and /dev/rdsk/c0t6d0s0; and these diskette paths: /dev/diskette and /dev/rdiskette. Attempts to mount or access a CD or diskette using these paths will result in an error message.


There are several new commands to help you administer Volume Management on your system, as described in Table 7-4.

Table 7-4 Volume Management Commands

Command 

Description  

rmmount(1)

Removable media mounter. Used by vold to automatically mount /cdrom and /floppy when a CD or diskette is installed.

volcancel(1)

Cancels a user's request to access a particular CD-ROM or diskette file system 

volcheck(1)

Checks drive for installed media. By default, checks drive pointed to by /dev/diskette.

volmissing(1)

Notifies user when an attempt is made to access a CD or diskette that is no longer in the drive 

vold(1)

Volume Management daemon, controlled by /etc/vold.conf

There are also two configuration files to define Volume Management's actions: /etc/vold.conf and /etc/rmmount.conf. See the vold.conf(4) and rmmount.conf(4) man pages for descriptions of these files, and see System Administration Guide, Volume I for information on managing CD-ROM and diskette devices.