Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 10 8/11 Information Library |
1. Managing Removable Media (Overview)
2. Managing Removable Media (Tasks)
3. Accessing Removable Media (Tasks)
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: Setting Up Disks (Tasks)
13. x86: Setting Up Disks (Tasks)
14. Configuring Oracle Solaris iSCSI Targets and Initiators (Tasks)
15. The format Utility (Reference)
16. Managing File Systems (Overview)
17. Creating and Mounting File Systems (Tasks)
18. Using The CacheFS File System (Tasks)
19. Configuring Additional Swap Space (Tasks)
20. Checking UFS File System Consistency (Tasks)
21. UFS File System (Reference)
22. Backing Up and Restoring UFS File Systems (Overview)
23. Backing Up UFS Files and File Systems (Tasks)
24. Using UFS Snapshots (Tasks)
25. Restoring UFS Files and File Systems (Tasks)
26. UFS Backup and Restore Commands (Reference)
27. Copying Files and File Systems (Tasks)
Commands for Copying File Systems
Copying File Systems Between Disks
Making a Literal File System Copy
Copying Directories Between File Systems (cpio Command)
How to Copy Directories Between File Systems (cpio)
Copying Files and File Systems to Tape
Copying Files to Tape (tar Command)
How to Copy Files to a Tape (tar)
How to List the Files on a Tape (tar)
How to Retrieve Files From a Tape (tar)
Copying Files to Tape With the cpio Command
How to Copy All Files in a Directory to a Tape (cpio)
How to List the Files on a Tape (cpio)
How to Retrieve All Files From a Tape (cpio)
How to Retrieve Specific Files From a Tape (cpio)
Copying Files to a Remote Tape Device
How to Copy Files to a Remote Tape Device (tar and dd)
How to Extract Files From a Remote Tape Device
Copying Files and File Systems to Diskette
What You Should Know When Copying Files to Diskettes
How to Copy Files to a Single Formatted Diskette (tar)
How to List the Files on a Diskette (tar)
How to Retrieve Files From a Diskette (tar)
Archiving Files to Multiple Diskettes
$ pax -w -f /dev/rmt/n filenames
Enables the write mode.
Identifies the tape drive.
Indicates the files and directories that you want to copy. Separate multiple files with spaces.
For more information, see the pax(1) man page.
$ pax -f /dev/rmt/n
Example 27-7 Copying Files to a Tape (pax)
The following example shows how to use the pax command to copy all the files in the current directory.
$ pax -w -f /dev/rmt/0 . $ pax -f /dev/rmt/0 filea fileb filec