[comp.unix.questions] Mounting a Tape

dan@hrc.UUCP (Dan Troxel VP) (08/14/88)

How do I mount a file system on a REEL-to-REEL tape on Unix 5.2?
I am using an S-640 from Convergent.

-- 
Dan Troxel VP of Computer Operations @ 
Handwriting Research Corporation - 2821 E. Camelback Road Suite 600
Phoenix, AZ  85016       WK 1-800-777-8870        HM 1-602-435-1240
UUCP : ..nud!asuvax!hrc!dan

lvc@cbnews.ATT.COM (Lawrence V. Cipriani) (08/14/88)

In article <302@hrc.UUCP> dan@hrc.UUCP (Dan Troxel VP) writes:
>
>How do I mount a file system on a REEL-to-REEL tape on Unix 5.2?
>I am using an S-640 from Convergent.
>Dan Troxel VP of Computer Operations @ 

Unless your operating system is seriously broken you should be
able to use /etc/mount as if you wanted to mount a disk:

	mount /dev/device /directory

where /dev/device is a block device name for the tape unit at the
appropriate density, and /directory is a mount point.  Try a device
that gives you rewind first, if that doesn't work try one with no
rewind.

Mount accepts *any block device*, not just disks.  This form of access
is very slow, but should work.

If there is more than one file system on the disk you'll have to
skip past the ones at the beginning.

If instead you want to put the contents of the tape onto disk,
just mount the tape (physically!) on the tape unit, and use a
command like dd (I am not familiar with S-640) to read the tape
and write it to disk.  This is probably what you really need to do
but you didn't say why you wanted to mount a tape.

Hope this helps,

-- 
Larry Cipriani, AT&T Network Systems, Columbus OH, (614) 860-4999

lvc@cbnews.ATT.COM (Lawrence V. Cipriani) (08/14/88)

In article <848@cbnews.ATT.COM> lvc@cbnews.ATT.COM (Lawrence V. Cipriani) writes:
>In article <302@hrc.UUCP> dan@hrc.UUCP (Dan Troxel VP) writes:
>If there is more than one file system on the disk you'll have to
                                              ****
Oops!  Make that "tape"
-- 
Larry Cipriani, AT&T Network Systems, Columbus OH, (614) 860-4999

gwyn@smoke.ARPA (Doug Gwyn ) (08/14/88)

In article <848@cbnews.ATT.COM> lvc@cbnews.ATT.COM (Lawrence V. Cipriani) writes:
>In article <302@hrc.UUCP> dan@hrc.UUCP (Dan Troxel VP) writes:
>>How do I mount a file system on a REEL-to-REEL tape on Unix 5.2?
>Mount accepts *any block device*, not just disks.  This form of access
>is very slow, but should work.

So long as no write is performed!  The mount should be read-only.
1/2" magtape is not in general block-replaceable, unlike DECtape.

jfh@rpp386.UUCP (The Beach Bum) (08/16/88)

In article <8341@smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>So long as no write is performed!  The mount should be read-only.
>1/2" magtape is not in general block-replaceable, unlike DECtape.

on a tu-11 a write-gap command can be issued several times after each
block.  this will allow the tape (modulo murphy's law) to be used for
read/write.  various dec operating systems (rt-11 comes to mind) use
this technique to create tapes which can be booted off of an run.
provided the driver skips the interrecord gaps before the next block
write, there should be no problem.  also, you must NOT write a file
mark after the last write to the device.
-- 
John F. Haugh II                 +--------- Cute Chocolate Quote ---------
HASA, "S" Division               | "USENET should not be confused with
UUCP:   killer!rpp386!jfh        |  something that matters, like CHOCOLATE"
DOMAIN: jfh@rpp386.uucp          |         -- apologizes to Dennis O'Connor