Article View: comp.periphs
Article #2741Re: Programming HP tapedrives
From: Mark Simms
Date: Thu, 01 Feb 1990 13:43
Date: Thu, 01 Feb 1990 13:43
29 lines
1679 bytes
1679 bytes
>> How do you read the number of valid bytes in a partial block?
This is not possible.
Whilst the 9144 and 9145 will write a partially full block when sent a
write that is not a multiple of 1024 bytes, the only way to detect
that this has happened is by monitoring the address by sending request
status commands to the drive. It would be theoretically possible to
issue read commands of different lengths but the same address, each
followed by a request status command, to determine the length of a
known partial block. This would be slow and could increase tape and
drive wear.
Without knowing your application or host computer system, it is hard
to be more helpful.
Mark
----------------------------------------------------------------------
Opinions expressed are my own and are not intended to be an official
statement by Hewlett-Packard Company
----------------------------------------------------------------------
Name: Mark Simms
Position: Software Development Engineer
Organization: Hewlett-Packard Computer Peripherals Division
Email US: mark%hpcpbla@hplb.hpl.hp.com
UK: mark%hpcpbla@hplb.hp.co.uk
Address: Filton Road, Bristol BS12 6QZ, United Kingdom
----------------------------------------------------------------------
Technical Details
Message-ID:
<1450004@hpcpbla.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucsdhub!hp-sdd!hplabs!otter!hpcpbla!markReferences:
<2258@psueea.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucsdhub!hp-sdd!hplabs!otter!hpcpbla!mark From: mark@hpcpbla.HP.COM (Mark Simms) Newsgroups: comp.periphs Subject: Re: Programming HP tapedrives Message-ID: <1450004@hpcpbla.HP.COM> Date: 1 Feb 90 13:43:38 GMT References: <2258@psueea.UUCP> Organization: HP Computer Peripherals Bristol, UK Lines: 29