Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

About Removable Media

Removable media services enable you to access removable media but without requiring administrative rights, unlike with manual mounting.

If the media contains a file system and a label, the media label name is used to name the /media/pathname mount point. If a label is not present, the disk model name is used to name the media, such as /media/cdrom. A generic nickname is used only for legacy symbolic links. For example, /rmdisk/rmdisk0.

If your system has more than one type of removable device, see the following table for their access points.

Table 14-1  How to Access Data on Removable Media
Media
Unlabeled Media Pathnames
Labeled Media Pathname Examples
Hard disk
/media/usb-disk or the legacy path /rmdisk/rmdisk0
/media/00JB-00CRA0
DVD
/media/cdrom
/media/Oracle_Solaris-n-Live-X86

To identify mounted media on your system, use the rmmount –l command. For example:

# rmmount -l
/dev/dsk/c5t0d0p0       rmdisk6,/media/FD-05PUB
/dev/dsk/c4t0d3p0       rmdisk5,/media/223UHS-SD-MMC
/dev/dsk/c2t0d0s2       cdrom1,cd1,sr1,Oracle_Solaris-11_1-AI-SPARC,  \
                           /media/Oracle_Solaris-11_1-AI-SPARC
/dev/dsk/c3t0d0p0       rmdisk2,/media/00JB-00CRA0

In the sample output, the mounted devices are as follows:

  • /dev/dsk/c5t0d0p0 – USB diskette

  • /dev/dsk/c4t0d3p0 – CF card in a USB card reader

  • /dev/dsk/c2t0d0s2 – DVD-ROM

  • /dev/dsk/c3t0d0p0 – Removable USB disk