Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 1998 13:00:11 -0700
From:      Matthew Jacob <mjacob@feral.com>
To:        Harlan.Stenn@pfcs.com, louie@TransSys.COM
Cc:        dkelly@HiWAAY.net, freebsd-scsi@FreeBSD.ORG
Subject:   Re: does CAM do this?
Message-ID:  <199804252000.NAA28239@feral.com>

next in thread | raw e-mail | index | archive | help
>From owner-freebsd-scsi@FreeBSD.ORG  Sat Apr 25 12:56:26 1998
>
>
>Perhaps I've come in the middle here, but typically you simply issue
>a read(2) system call with as large a block size as you're willing or
>able to accomodate.  The byte count returned is the size of the tape
>block which was actually read.  This sort of scheme works even if every
>block within a tape file is a different block size.

If, and only if, the tape is in variable block mode. If it's
in fixed block mode, and the tape driver hasn't set SILI (Suppress
Incorrect Length Indicator) you get an error if the requested
byte count doesn't match the tape block size.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804252000.NAA28239>