Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 1998 16:37:50 -0400
From:      Harlan Stenn <Harlan.Stenn@pfcs.com>
To:        "Louis A. Mamakos" <louie@TransSys.COM>, freebsd-scsi@FreeBSD.ORG
Subject:   Re: does CAM do this? 
Message-ID:  <23743.893536670@brown.pfcs.com>
In-Reply-To: "Louis A. Mamakos"'s (louie@TransSys.COM) message dated Sat, 25 Apr 1998 15:51:50.  <199804251951.PAA09723@whizzo.TransSys.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

That works for reading a tape, but not for copying or writing tapes.

Sometimes, the tape *must* be written with particular blocksizes for
bootloaders or foreign systems.

H




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?23743.893536670>