From owner-cvs-all@FreeBSD.ORG Sat Mar 29 14:26:40 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D12237B401; Sat, 29 Mar 2003 14:26:40 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 652BF43FCB; Sat, 29 Mar 2003 14:26:39 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2TMQSSM010582; Sat, 29 Mar 2003 23:26:38 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 29 Mar 2003 14:10:52 PST." Date: Sat, 29 Mar 2003 23:26:28 +0100 Message-ID: <10581.1048976788@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fdisk fdisk.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 22:26:41 -0000 In message , Nate Lawson writ es: >On Sat, 29 Mar 2003, Poul-Henning Kamp wrote: >> Modified files: >> sbin/fdisk fdisk.c >> Log: >> Use default geometry in case the device doesn't provide one: >> 512 for sectorsize. >> 63 for sectors. >> 255 for heads. >> This will mostly show up on MD(4) devices. > >Won't this be a problem for small devices or for int 13 booting? That's >why we use 64 heads, 32 sectors for scsi devices < 1 GB. You can specify any number you like to fdisk using all the usual ways of doing so, and you should if you want to copy the image to some other media afterwards. These defaults are only here to prevent fdisk from crashing. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.