System Administration Guide: Devices and File Systems

Improvements to Volume Management (vold)

Solaris 10 1/06: Removable media management is improved. Previously, vold did not create device links for removable devices that contain no media. Now, device links are properly created for devices that contain no media, similar to the following:

lrwxrwxrwx   1 root     root     28 Jun 13 13:09 /vol/dev/aliases/cdrom0 ->

Now, you can use the cdrw and rmformat commands to list devices that have no media when vold is running.

You can revert back to the previous vold behavior by changing the following support nomedia entry in the /etc/vold.conf file as follows:

support media

Then, restart vold. For more information, see vold.conf(4).

In addition, vold is now hot-plug aware. This improvement means that if you insert removable media, the media is automatically detected and mounted by vold. There should be no need to restart vold manually to recognize and mount a file system from any removable media device.

If you are using a legacy or non-USB diskette device, then you might need to issue the volcheck command before vold can recognize the media.

If the media is detected, but for some reason, is unmounted, then you'll need to run the following commands:

# volrmmount -i rmdisk0

Before you hot-remove a removable media device, eject the media first. For example:

# eject rmdisk0