System Administration Guide: Devices and File Systems

ProcedureHow to Copy Information From Removable Media

You can access files and directories on removable media as with any other file system. The only significant restrictions are related to ownership and permissions.

For instance, if you copy a file from a DVD into your file system, you are the owner. However, you won't have write permissions because the file on the DVD never had them. You must change the permissions yourself.

  1. Ensure that the media is mounted.


    $ ls /media
    

    The ls command displays the contents of a mounted media. If no contents are displayed, see How to Access Information on Removable Media.

  2. (Optional) Copy the files or directories.

    For example, for a DVD, you would do the following:


    $ cp /cdrom/sol_10_910_sparc/Solaris_10/Tools/add_install_client .
    $ ls -l
    -rwxr-xr-x   1 pmorph	  gelfs   64065 Jul 12  2010 add_install_client