From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 08:21:48 2003 Return-Path: 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 8189237B40A for ; Thu, 12 Jun 2003 08:21:48 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB3D43FF3 for ; Thu, 12 Jun 2003 08:21:47 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h5CFLFOg022740; Thu, 12 Jun 2003 11:21:15 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h5CFLFEs022739; Thu, 12 Jun 2003 11:21:15 -0400 (EDT) From: Jerry McAllister Message-Id: <200306121521.h5CFLFEs022739@clunix.cl.msu.edu> To: longterm@chatusa.com (DanB) Date: Thu, 12 Jun 2003 11:21:15 -0400 (EDT) In-Reply-To: <3EE88D9F.276EAB13@chatusa.com> from "DanB" at Jun 12, 2003 02:26:39 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd Subject: Re: Hard disc space availble? Hard drive size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 15:21:48 -0000 > > How do you tell what size your hard drive is. And how much free space is > left. Also, for absolute size (before partitioning and newfsing, etc) use fdisk(8). Without any switches telling it to write, it will give the total disk size in (512 byte) blocks and list the slices and their sizes and tell which ones are bootable. Note that with modern disks the geometry (cylinders, tracks, sectors) is sort of a virtual geometry and not the actual physical layout of the disk. So, su to root fdisk da0 (for example of a SCSI disk 0, substitute the appropriate device name - use df or look in /etc/fstab) ////jerry > > Dan > > _______________________________________________