From owner-freebsd-scsi Fri Feb 22 13:30:13 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id ED68837B402 for ; Fri, 22 Feb 2002 13:30:08 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id WAA14963; Fri, 22 Feb 2002 22:30:04 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g1MLNxN68098; Fri, 22 Feb 2002 22:23:59 +0100 (MET) (envelope-from j) Date: Fri, 22 Feb 2002 22:23:59 +0100 From: Joerg Wunsch To: Kelly Yancey Cc: =?iso-8859-1?Q?G=E9rard_Roudier?= , freebsd-scsi@FreeBSD.ORG Subject: Re: RBC support patch Message-ID: <20020222222359.A68079@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , Kelly Yancey , =?iso-8859-1?Q?G=E9rard_Roudier?= , freebsd-scsi@FreeBSD.ORG References: <20020222081844.D34036@uriah.heep.sax.de> <20020222113901.G91617-100000@gateway.posi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020222113901.G91617-100000@gateway.posi.net>; from kbyanc@posi.net on Fri, Feb 22, 2002 at 11:42:46AM -0800 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As Kelly Yancey wrote: > No he is correct. READ(6) uses a 21bit LBA; the high 3 bits > of the 3rd byte are the logical unit number. 2^21 = 2097152 > sectors; sectors are normally 512 bytes so you get 1073741824 > (1024M) bytes. Thank you both for correcting me. I only remembered the 3-byte value, but forgot about the prehistoric LUN bits. Should have looked into the standard before. ;-) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message