|
|||||||||||||||||
1. Managing Removable Media (Overview) 2. Managing Removable Media (Tasks) 3. Accessing Removable Media (Tasks) Accessing Removable Media (Task Map) 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 Copy Information From Removable Media Accessing Removable Media on a Remote System (Task Map) How to Make Local Media Available to Other Systems How to Access Removable Media on Remote Systems 4. Writing CDs and DVDs (Tasks) 5. Managing Devices (Overview/Tasks) 6. Dynamically Configuring Devices (Tasks) 7. Using USB Devices (Overview) 9. Using InfiniBand Devices (Overview/Tasks) 11. Administering Disks (Tasks) 12. SPARC: Adding a Disk (Tasks) 13. x86: Adding a Disk (Tasks) 14. Configuring Solaris iSCSI Targets and Initiators (Tasks) 15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS) 16. The format Utility (Reference) 17. Managing File Systems (Overview) 18. Creating UFS, TMPFS, and LOFS File Systems (Tasks) 19. Mounting and Unmounting File Systems (Tasks) 20. Using The CacheFS File System (Tasks) 21. Configuring Additional Swap Space (Tasks) 22. Checking UFS File System Consistency (Tasks) 23. UFS File System (Reference) 24. Backing Up and Restoring File Systems (Overview) 25. Backing Up Files and File Systems (Tasks) 26. Using UFS Snapshots (Tasks) 27. Restoring Files and File Systems (Tasks) 28. UFS Backup and Restore Commands (Reference) 29. Copying UFS Files and File Systems (Tasks) |
Accessing Removable MediaYou 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. Volume management (vold) actively manages all removable media devices. So, any attempt to access removable media with device names such as /dev/rdsk/cntndnsn or /dev/dsk/cntndnsn will be unsuccessful. Using Removable Media NamesYou can access all removable media with different names. The following table describes the different media names that can be accessed with or without volume management. Table 3-1 Removable Media Names
Guidelines for Accessing Removable Media DataMost CDs and DVDs are formatted to the ISO 9660 standard, which is portable. So, most CDs and DVDs can be mounted by volume management. However, CDs or DVDs with UFS file systems are not portable between architectures. So, they must be used on the architecture for which they were designed. For example, a CD or DVD with a UFS file system for a SPARCTM platform cannot be recognized by an x86 platform. Likewise, an x86 UFS CD cannot be mounted by volume management on a SPARC platform. The same limitation generally applies to diskettes. However, some architectures share the same bit structure, so occasionally a UFS format specific to one architecture will be recognized by another architecture. Still, the UFS file system structure was not designed to guarantee this compatibility. To accommodate the different formats, the CD or DVD is split into slices. Slices are similar in effect to partitions on hard disks. The 9660 portion is portable, but the UFS portion is architecture-specific. If you are having trouble mounting a CD or DVD, particularly if it is an installation CD or DVD, make sure that its UFS file system is appropriate for your system's architecture. For example, you can check the label on the CD or DVD. How to Add a New Removable Media DriveGenerally, most modern bus types support hot-plugging. If your system's bus type supports hot-plugging, you might only need to do step 5 below. If your system's bus type does not support hot-plugging, you might have to do the following tasks, which are described in steps 1-6 below.
For more information about hot-plugging devices, see Chapter 6, Dynamically Configuring Devices (Tasks).
How to Disable or Enable Removable Media ServicesOccasionally, you might want to manage media without using removable media services. This section describes how to disable and enable removable media services. Disabling these services means that you would have to mount all media manually by using the mount command.
How to Access Information on Removable Media
This example shows how to access information on a diskette. $ ls /media/floppy This example shows how to access information on a USB memory stick. $ ls /media/usb-name This example shows how to access information on a DVD or CD. $ ls /media SOL_10_305_sparc cdrom How to Copy Information From Removable MediaYou 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 CD into your file system, you are the owner. However, you won't have write permissions because the file on the CD never had them. You must change the permissions yourself.
How to Determine If Removable Media Is Still in Use
The following example shows that the user pmorph, is accessing the /media/sol_10_305_sparc/s0/Solaris_10/Tools directory. # fuser -u /media/sol0_10_305_SPARC/Solaris_10/Tools /media/SOL_9_SPARC/Solaris_9/Tools: 723c(pmorph) 316c(pmorph) How to Eject Removable Media
|
||||||||||||||||
|