System Administration Guide

Example--Listing the Files on a Tape (cpio)

In this example, the table of contents for the tape in drive 0 contains three files.


$ cpio -civt < /dev/rmt/0
drwxr-xr-x  2 rimmer users 0  Oct 28 09:17 1996, answers
drwxr-xr-x  2 rimmer users 0  Oct 28 09:17 1996, sc.directives
drwxr-xr-x  2 rimmer users 0  Oct 28 09:17 1996, tests
8 blocks