HP DDS/DAT tape drives UNIX, Linux and OpenVMS configuration guide (DW049-90930, May 2010)
1. Change directory to root:
% cd /
2. Back up /boot/vmlinuz to tape:
% tar cvf /dev/st0 ./boot/vmlinuz
Note the prefix of ‘.' to the filename.
3. Change to the temporary directory:
% cd /tmp
4. Extract the file from the tape:
% tar xvf /dev/st0
5. Compare the original with the restored version:
% cmp /boot/vmlinuz /tmp/boot/vmlinuz
Note that the original filename is not prefixed with ‘.'.
UNIX, Linux and OpenVMS configuration guide 41