2012年4月11日星期三

Common Tape Control Command


lsdev -Cc tape -> to check tape

TAR folder Test append to tape rmt1(using ".1")
tar -cvf /dev/rmt1.1 ./Test

mt -f /dev/rmt1.1 fsf 1 -> move the tape pointer forward
mt -f /dev/rmt1.1 bsf 1 -> move the tape pointer backward
mt -f /dev/rmt1.1 rewind -> rewind to the beginning

will move advance 1
tar -tvf /dev/rmt0.1

沒有留言: