From: Scott Lurndal on
Barry Margolin <barmar(a)alum.mit.edu> writes:
>In article
><0.9cdd9f92239f91041fb3.20090922232159BST.87pr9isjqw.fsf(a)bsb.me.uk>,
> Ben Bacarisse <ben.usenet(a)bsb.me.uk> wrote:
>
>> "Bill Cunningham" <nospam(a)nspam.invalid> writes:
>> <snip>
>> > Can someone help me then with just mt and how it was used in old unixes
>> > that ran of DECs?
>>
>> mt did not exist on old unixes (at least not the very old ones).
>
>I'm pretty sure I used it on SunOS in the late 80's. Not prehistoric,
>but still pretty old.

IIRC it was a BSD thing, and didn't find its way into SYSV until
SVR4.

scott
From: Bill Cunningham on

"Barry Margolin" <barmar(a)alum.mit.edu> wrote in message
news:barmar-2FBB35.23521922092009(a)news.eternal-september.org...

>> mt did not exist on old unixes (at least not the very old ones).
>
> I'm pretty sure I used it on SunOS in the late 80's. Not prehistoric,
> but still pretty old.
>
I see. It wasn't around with the PDPs and such.

Bill


From: Moi on
On Thu, 24 Sep 2009 10:43:31 -0400, Bill Cunningham wrote:

> "Barry Margolin" <barmar(a)alum.mit.edu> wrote in message
> news:barmar-2FBB35.23521922092009(a)news.eternal-september.org...
>
>>> mt did not exist on old unixes (at least not the very old ones).
>>
>> I'm pretty sure I used it on SunOS in the late 80's. Not prehistoric,
>> but still pretty old.
>>
> I see. It wasn't around with the PDPs and such.

mt was handy, when you needed to skip some blocks (eg the TOC),
or even for erasing, rewinding, retensioning or ejecting the tape.

mt is just a wrapper around the ioctl system call.
ioctl s vary a lot between devices, even between tape devices.
So expect mt's source code to be pretty simple, but hairy.

Use the source, Bill!

HTH,
AvK
From: Gary R. Schmidt on
Bill Cunningham wrote:
> "Barry Margolin" <barmar(a)alum.mit.edu> wrote in message
> news:barmar-2FBB35.23521922092009(a)news.eternal-september.org...
>
>>> mt did not exist on old unixes (at least not the very old ones).
>> I'm pretty sure I used it on SunOS in the late 80's. Not prehistoric,
>> but still pretty old.
>>
> I see. It wasn't around with the PDPs and such.
>
I'm struggling to recall if I used it on the 11/70 that I occasionally
rans System III on way back then - but I am drawing a complete blank - I
am *sure* I drove the tape, but it may have simply been "tar ??f /dev/rmt0".

Who's got SysIII source?

Cheers,
Gary B-)