03-28-2006
I presume by DAT reader you mean a DDS-type tape drive.
tape drives cannot be mounted like hard drives; they are sequential devices, not block devices.
/usr/bin/tape handles most thing to do with tape drives, try 'man tape'.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to compare x file with y file.
If x file is newer than y file do xxxx;
(I used touch -t yymmddxxx to chnage the time for y file)
How can i do that?
I tried use
if
then
echo "Xxx";;
fi
But cant....any other good ways to do it? (2 Replies)
Discussion started by: AkumaTay
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, Guys.
I've been trying to read and write SCO DAT tapes to my Linux
hard disk. I'm using RedHat 6.0 because it is the only version
that has device drivers for my SCSI host adapter and SCSI tape
drive.
When I run the command "cpio -ivt > /dev/st0" I can read the
archive from the SCO... (3 Replies)
Discussion started by: cstovall
3 Replies
3. IP Networking
Hello,
My 2nd post...
Here is my case:
Now, I have a router. I have installed fresh freebsd and apache web server. I opened port 80 in router...and I am unable to access to it within my network if I use my 'external' IP. People not from my network however can acess to it.
I also installed... (3 Replies)
Discussion started by: kasia
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I want to allow all users on my server (AIX 5.3) to have access to X server. If they export DISPLAY=localhost:0.0, they should be able do use X server on the same machine. What should I do to do it? I've read that I must create the /etc/X0.hosts file and place in it localhost. Would it be... (0 Replies)
Discussion started by: piooooter
0 Replies
5. UNIX for Dummies Questions & Answers
Ok, so say I boot off a live Knoppix CD. Is there any way I could access the harddrive (and files on it) from the live CD? Is it complicated?
Thanks alot,
John (3 Replies)
Discussion started by: jjvacc
3 Replies
6. AIX
Hello
I've just installed openSSL and SSH on my AIX 5.3 TL04 and started having a problem with acces to ftp. When I try to log in to ftp on my AIX server, I always get message like this: "530 User root access denied". The same problem occurres with all users. Can anyone help me?
Regards
Pit (3 Replies)
Discussion started by: piooooter
3 Replies
7. Programming
Hai Everyone,
I am newcomer to UNIX.
I am interested to write a prograame in windows which connects to unix server and executing a script and return the result. Is it possibele or not.
Please suggest me.
Thank you in advance.
With Regards
sanjeeb (3 Replies)
Discussion started by: Sanjeeb
3 Replies
8. SCO
my server os version is openserver 5.0.6.from past few days it is giving problem while taking backup.it is giving error such that "TAPE WRITE ERROR".anyone can help to come out of this. (3 Replies)
Discussion started by: prakrithi
3 Replies
9. SCO
Looking for specifically naming convention for a tape device for SCO Unix
What full system backup command should I use for SCO UNIX (1 Reply)
Discussion started by: jedimaster
1 Replies
10. Shell Programming and Scripting
How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
mt(1) General Commands Manual mt(1)
NAME
mt - magnetic tape manipulating program
SYNOPSIS
tapename] command [count]
Obsolescent
tapename] command [count]
DESCRIPTION
is used to give commands to the tape drive. If tapename is not specified, the environment variable is used; if is not defined, the default
drive is used.
winds the tape in the requested direction (forward or backward), stopping after the specified count EOF marks or records are passed. If
count is not specified, one is assumed. Each EOF mark counts as one record. When winding backwards, the tape always stops at the BOT
marker, regardless of the number remaining in count.
accepts the following commands:
Write count EOF marks.
Forward space
count files.
Forward space
count records.
Backward space
count files.
Backward space
count records.
Rewind tape.
Rewind tape and go offline.
Seek to end of data (DDS and QIC drives only).
Write count setmarks (DDS drives only).
Forward space
count setmarks (DDS drives only).
Backward space
count setmarks (DDS drives only).
Print status information about the tape drive.
Reserve tape drive for sole use by the host issuing the
command (stape or estape driver only).
Release tape drive from sole use by the host issuing the
command (stape or estape driver only).
Spacing operations (back or forward space file or record) leave the tape positioned past the object being spaced to in the direction of
motion. That is, backspacing a file leaves the the tape positioned before the file mark, forward spacing a file leaves the tape positioned
after the file mark. This is consistent with all classical usage on tapes.
WARNINGS
Only raw, no-rewind Berkeley-type devices should be specified. This type of device will not reposition the tape upon close. An example of
such a device is or See mt(7) for more details.
It is possible to wind the tape beyond the EOT marker and off the end of the reel.
A reservation may only be cleared with a release by the host that issued the original reserve. In the event that the host that holds the
reservation is no longer available, the command may be used to reclaim the device by issuing a bus device reset. See st(1M) for more
details.
The reserve/release functionality can only be issued to drives using the or driver.
EXAMPLES
Rewind the tape associated with the device file or (if legacy DSF is disabled):
FILES
Raw magnetic tape interface (stape)
Raw magnetic tape interface (estape)
Default tape interface.
If legacy DSF is disabled, the default value is
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
dd(1), st(1M), intro(7), mt(7).
mt(1)