|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Devices and File Systems Oracle Solaris 10 1/13 Information Library|
You can access information on removable media with or without using volume management. For information on accessing information on removable media with GNOME's File Manager, see the GNOME desktop documentation.
This following procedures are described in this section:
Table 1-3 Removable Media Names
Most DVDs are formatted to the ISO 9660 standard, which is portable. So, DVDs can be mounted by volume management.
To accommodate possible different formats, a DVD is split into slices. Slices are similar in effect to partitions on hard disks. The 9660 portion is portable. If you are having trouble mounting a DVD, particularly if it is an installation DVD, make sure that its file system is appropriate for your system's architecture. For example, you can check the label on DVD.
Generally, most modern bus types support hot-plugging. This means you can insert a disk in an empty slot and the system recognizes it.
For more information about hot-plugging devices, see Chapter 4, Dynamically Configuring Devices (Tasks).
See your hardware handbook for specific instructions.
# rmformat Looking for devices...
Disabling these services means that you would have to mount all media manually by using the mount command.
If you are not sure whether you have found all users of the media, use the fuser command, see How to Determine If Removable Media Is Still in Use.
Disable removable media services.
# svcadm disable svc:/system/filesystem/volfs:default
Enable removable media services.
# svcadm enable svc:/system/filesystem/volfs:default
# ls /media
Example 1-3 Accessing Information on Removable Media
This example shows how to access information on a USB memory stick.
$ ls /rmdisk rmdisk0/ rmdisk1/
This example shows how to access information on a DVD.
$ ls /cdrom cdrom0 sol_10_811_sparc
# fuser -u /media
The -u displays the user of the media.
For more information, see fuser(1M).
# fuser -u -k /media
The -k option kills the processes accessing the media.
Caution - Killing the processes that are accessing the media should only be used in emergency situations.
# pgrep process-ID
Remember, media is “being used” if a shell or an application is accessing any of its files or directories. If you are not sure whether you have found all users of a DVD (for example, a shell hidden behind a desktop tool might be accessing it), use the fuser command. See How to Determine If Removable Media Is Still in Use.
# eject media
For example, for a DVD, you would do the following:
# eject cdrom
For example, for a USB memory stick, you would do the following:
# eject rmdisk0
Tip - You can view the removable device name with the eject -l command.