Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.
mt -f /dev/nst0 rewind
tar -tzf /dev/nst0
Open in new window
11:28:28$ mt -f /dev/nst0a rewind
11:33:40$ dd if=/dev/nst0a of=xxx count=1 bs=$((512*256))
0+1 records in
0+1 records out
64512 bytes (65 kB, 63 KiB) copied, 0.0296237 s, 2.2 MB/s
11:34:06$ echo $((64512/512))
11:46:25$ mt -f /dev/nst0a rewind
11:46:52$ dd if=/dev/nst0a of=xxx count=1 bs=$((512*126))
1+0 records in
1+0 records out
64512 bytes (65 kB, 63 KiB) copied, 0.0398174 s, 1.6 MB/s
11:47:08$ file xxx
xxx: gzip compressed data, last modified: Sat Jan 3 08:52:52 2009, from Unix
11:47:17$ cat xxx|gzip -d >yyy
gzip: stdin: unexpected end of file
11:47:37$ file yyy
yyy: POSIX tar archive (GNU)
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
From novice to tech pro — start learning today.
Members can enroll in this course at no extra cost.