From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 08:33:38 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 A147537B401 for ; Thu, 12 Jun 2003 08:33:38 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDAE043FDD for ; Thu, 12 Jun 2003 08:33:35 -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 h5CFX3Og022818; Thu, 12 Jun 2003 11:33:03 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h5CFX3Tt022817; Thu, 12 Jun 2003 11:33:03 -0400 (EDT) From: Jerry McAllister Message-Id: <200306121533.h5CFX3Tt022817@clunix.cl.msu.edu> To: jerrymc@clunix.cl.msu.edu (Jerry McAllister) Date: Thu, 12 Jun 2003 11:33:02 -0400 (EDT) In-Reply-To: <200306121521.h5CFLFEs022739@clunix.cl.msu.edu> from "Jerry McAllister" at Jun 12, 2003 11:21:15 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd cc: DanB 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:33:38 -0000 Hi again, Actually, if you are really at FreeBSD 2.2.8 as your other message seems to imply, I might be a little cautious about using fdisk in this way. More recent versions of fdisk are much more sophisticated and work well. I vaguely remember that this might not be so easy under FreeBSD 2.xxx, though I don't have one around now to check. Read the man page carefully. ////jerry > > > > > 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 > > > > _______________________________________________ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >