From owner-freebsd-scsi Sat Apr 25 13:38:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13150 for freebsd-scsi-outgoing; Sat, 25 Apr 1998 13:38:11 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from pcpsj.pfcs.com (C5v2SV9aBQBe1ftGuJZY5IausuvmlqM1@harlan.fred.net [205.252.219.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13141 for ; Sat, 25 Apr 1998 13:38:08 -0700 (PDT) (envelope-from Harlan.Stenn@pfcs.com) Received: from mumps.pfcs.com [192.52.69.11] (HELO mumps.pfcs.com) by pcpsj.pfcs.com (8.8.8/8.8.8) via ESMTP id ; Sat, 25 Apr 1998 16:37:52 -0400 (EDT) Received: from brown.pfcs.com [192.52.69.44] (HELO brown.pfcs.com) by mumps.pfcs.com (8.8.8/8.8.8) via ESMTP id ; Sat, 25 Apr 1998 13:37:51 -0700 (PDT) Received: from localhost [127.0.0.1] (HELO brown.pfcs.com) by brown.pfcs.com (8.8.8/8.8.8) via ESMTP id ; Sat, 25 Apr 1998 16:37:50 -0400 (EDT) X-Mailer: exmh version 2.0.2 2/24/98 To: "Louis A. Mamakos" , freebsd-scsi@FreeBSD.ORG Subject: Re: does CAM do this? In-Reply-To: "Louis A. Mamakos"'s (louie@TransSys.COM) message dated Sat, 25 Apr 1998 15:51:50. <199804251951.PAA09723@whizzo.TransSys.COM> X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Apr 1998 16:37:50 -0400 Message-ID: <23743.893536670@brown.pfcs.com> From: Harlan Stenn Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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