From owner-freebsd-fs@FreeBSD.ORG Fri Feb 23 06:28:51 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1D9A16A400 for ; Fri, 23 Feb 2007 06:28:51 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCB613C48E for ; Fri, 23 Feb 2007 06:28:51 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so549410nfc for ; Thu, 22 Feb 2007 22:28:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ReWnSBgEbgKfE8Py8rmj7r9LVyfJLJ0CYEqulPXK/q8PWlPo2EV6tVaPL6OYs04WfoHRa11HAWCuua70BHIbEpgNm8/7y5oebO95rYRz39sN127Oiy4nN2mVx6bvE7D087K4mVIIBLnBjipiGFk5RRuHooXokEBF9dd3XEFZrqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=on+uBT8whz4B+WF+6tXF5JMcERCA2Eu6q3BLgHLzKH040WxNuGlXH2oqSZjjHyFxm9N7N/8nnhO8tSmeKdTXMFY03dVPZDlMW8L//3lAACdlzyv0QHybgjZOKjus1GgkDPoS2ktZ20DLZJS9yKa3VK4Ha7UVxdlQ/P+QaxEnbsg= Received: by 10.78.97.7 with SMTP id u7mr133268hub.1172210655218; Thu, 22 Feb 2007 22:04:15 -0800 (PST) Received: by 10.78.18.4 with HTTP; Thu, 22 Feb 2007 22:04:15 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2007 22:04:15 -0800 From: "j w" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: strange fdisk numbers X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 06:28:52 -0000 Hello (first post, so let me know if this is the wrong list for this) I am working up the courage to use growfs, but got a little confused by fdisk's numbers. The output is below, but what interests me is that it says "heads=16", but then later on has some partitions(slices) saying "head 254" and such there's 16 tracks/cylinder, so maybe that figures in the calculation somehow? (16 tracks * 16 heads ?) I put the output of bsdlabel -A as well any ideas? ******* Working on device /dev/ad2 ******* parameters extracted from in-core disklabel are: cylinders=26310 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=26310 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 10490382 (5122 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 652/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 14683410, size 11837070 (5779 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: The data for partition 4 is: # /dev/ad2s2: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 11743 sectors/unit: 11837070 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 0 4.2BSD 2048 16384 8 b: 2045792 1048576 swap c: 11837070 0 unused 0 0 # "raw" part, don't edit d: 3119104 3094368 4.2BSD 2048 16384 28552 e: 1048576 6213472 4.2BSD 2048 16384 8 f: 4575022 7262048 4.2BSD 2048 16384 28552