SUMMARY: Solaris version of ansitape

From: g.robertson@abdn.ac.uk
Date: Mon Feb 17 1997 - 06:33:16 CST


Folks,

Thanks for your replies and apologies for the late summary.

Turned out to be a really simple solution: just use the BSD compatability
flag on the tape device name, like...

/dev/rmt/0b

where the 'b' requests BSD behaviour, which allows reads past a tape mark. This is
explained in the "Read Operation" section within 'man mtio'.

jeffw@smoe.org (Jeff Wasilko) hit the bullseye with this info.

Thanks to all who replied.

Gordon.

>
> We have tried to convert our old SunOS "ansitape" untility to Solaris (2.5 with
> SUNWspro compiler), and it all looks OK but manifestly fails to cater for
> file-mark processing on reads. After the first file-mark, every read is an error.
>
> We're using an HP88780 1/2" drive. It works OK for tar to/from tape.
>
> Time is running out, so I'm here(as usual!) in desperation. Does anyone
> have working source or a binary?

-------------------------------------------------------------------------
Gordon Robertson, Head of Systems, Aberdeen University Computing Centre
Tel +44(0)224 273340
E-Mail : g.robertson@abdn.ac.uk
--------------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:46 CDT