From owner-freebsd-questions@FreeBSD.ORG Sun Sep 10 02:43:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6282C16A40F for ; Sun, 10 Sep 2006 02:43:01 +0000 (UTC) (envelope-from jdow@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB93F43D49 for ; Sun, 10 Sep 2006 02:43:00 +0000 (GMT) (envelope-from jdow@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=SnfiNCS2kOTvgB58abPBM9Rv4O85hTHF/Q/g9CucclY/kzHyvjnTpY4+Z6Bj5dJw; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.130.69] (helo=Wednesday) by elasmtp-banded.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GMFHa-0006u9-Rl for freebsd-questions@freebsd.org; Sat, 09 Sep 2006 22:42:55 -0400 Message-ID: <089001c6d482$d1531d80$0225a8c0@Wednesday> From: "jdow" To: References: <20060909201151.30355.qmail@web32715.mail.mud.yahoo.com> Date: Sat, 9 Sep 2006 19:42:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-ELNK-Trace: bb89ecdb26a8f9f24d2b10475b5711209d56e1ad2b46a575584265ba928caf27dead17e0afdcfc8e350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.130.69 Subject: Re: Origin of hard drive parameters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 02:43:01 -0000 From: "stheg olloydson" > > On 9 Sep 2006 14:54:09 -0000 ihilt wrote: > >>On Wednesday 06 September 2006 7:54 pm, jdow wrote: >> >>> >> Ok. Maybe the better question is: in either case, C/H/S or > LBA mode, >>> >> where are these parameters stored? >> >>> They flat out are not stored anywhere. There is a standard > algorithm >>> published by the VESA people, I believe, that provides the > data for >>> all SCSI drives and modern IDE/ATA/SATA drives. >> >>Do you know the name of this standard or where I can get it? >> >>Ian Graeme Hilt > > Actually, the stardard is created by the T13 Technical Committee > of the InterNational Committee for Information Technology > Standards (INCITS), formerly the Accredited Standards Committee > X3, Information Technology. Its standards are published by ANSI. > The one you are looking for is ANSI INCITS 397-2005 AT > Attachment - 7 with Packet Interface. You can download a pdf > from techstreet.com for $30.00US. Just search for 397-2005. > You can also get a free copy of a working draft of a standard > withdrawn in 2002, X3.298-1996, from t13.org. While the > information you are looking is unlikely to have changed between > 1996 and 2005, you are in a better position to weigh the benefit > to your project of saving $30.00US versus using possibly > horribly wrong information. (It is a _working draft_ from 1996, > after all.) It's probably cheaper to read the code for the GNU BIOS project or for things like fdisk. It should be present in both places. {^_-}