JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Devices and File Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Tasks)

Managing Removable Media (Overview)

Removable Media Features and Benefits

Comparison of Manual and Automatic Mounting

Overview of Accessing Removable Media

Managing Removable Media

Removable Media Considerations

Formatting Diskettes

How to Load Removable Media

How to Format a Diskette (rmformat)

How to Create a File System on Removable Media

How to Create a File System on a DVD-RAM

How to Check a File System on Removable Media

How to Repair Bad Blocks on Removable Media

Applying Read or Write Protection and Password Protection to Removable Media

How to Enable or Disable Write Protection on Removable Media

How to Enable or Disable Read or Write Protection and Set a Password on Removable Media

Accessing Removable Media

Using Removable Media Names

Guidelines for Accessing Removable Media Data

How to Add a New Removable Media Drive

How to Disable or Enable Removable Media Services

How to Access Information on Removable Media

How to Determine If Removable Media Is Still in Use

How to Eject Removable Media

Accessing Removable Media on a Remote System

How to Make Local Media Available to Other Systems

How to Access Removable Media on Remote Systems

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

9.  Administering Disks (Tasks)

10.  Setting Up Disks (Tasks)

11.  Configuring Storage Devices With COMSTAR (Tasks)

12.  Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Copying Files and File Systems (Tasks)

18.  Managing Tape Drives (Tasks)

Index

Managing Removable Media (Overview)

The following information is described in this section:

Removable Media Features and Benefits

The Oracle Solaris release gives users and software developers a standard interface for dealing with removable media. Removable media services provide the following benefits:

Comparison of Manual and Automatic Mounting

The following table compares the steps involved in manual mounting (without removable media services) and automatic mounting (with removable media management) of removable media.

Table 1-1 Comparison of Manual and Automatic Mounting of Removable Media

Steps
Manual Mounting
Automatic Mounting
1
Insert media.
Insert media.
2
Become an administrator.
For USB diskettes, use the volcheck command.
3
Determine the location of the media device.
Removable media services automatically perform many of the tasks that are required to manually mount and work with removable media.
4
Create a mount point.
5
Make sure you are not in the mount point directory.
6
Mount the device and use the proper mount options.
7
Exit the administrator account.
8
Work with files on media.
Work with files on media.
9
Become an administrator.
10
Unmount the media device.
11
Eject media.
Eject media.
12
Exit the administrator account.

Overview of Accessing Removable Media

Essentially, removable media services enable you to access removable media just as manual mounting does, but more easily and without the need for administrative access.

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 1-2 How to Access Data on Removable Media

Access
Insert
Unlabeled Media Pathnames
Labeled Media Pathname Examples
Files on a removable hard disk
The removable hard disk and type volcheck on the command line
/media/usb-disk or the legacy path /rmdisk/rmdisk0
/media/00JB-00CRA0
Files on a DVD
The DVD and wait for a few seconds
/media/cdrom
/media/Oracle_Solaris-11_1-Live-X86

You can use the rmmount -l command to identify mounted media on your system. 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 above 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