|
|
There are several ways to copy files from a hard disk to a diskette.
Method 1 is the preferred method for copying
files from a hard disk to a diskette.
Enter
ls file_1 file_2 . . . file_n | cpio -oc > special_file
where file_1 is the path to the first file (such as /etc/wall), file_2 is the path to the second file (such as /bin/ls), and file_3 is the path to the third file (such as /tmp/file) that you want to copy to a diskette, and special_file is the path to the diskette block device (such as /dev/dsk/f03ht). See ls(1) and cpio(1).
where special_file is the path to the diskette block device, and fsname is the name of the mounted filesystem (such as /etc).
where path is the full path of the files or files (such as /etc/passwd) on the hard disk that you want to copy to diskette.
See mkfs(1M), labelit(1M), mkdir(1), mount(1M), and cp(1).
Enter
cat file | cpio -ovc > special_file
where file is the path to a file (such as /tmp/file) that contains a list of paths to files (one per line) that you want to copy to a diskette, such as
/var/tmp/file1 /var/tmp/file2 /var/tmp/file3special_file is the path to the diskette block device (such as /dev/dsk/f03ht). See cat(1) and cpio(1).