Date: Thu, 12 Jun 2003 11:21:15 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: longterm@chatusa.com (DanB) Cc: freebsd <questions@freebsd.org> Subject: Re: Hard disc space availble? Hard drive size Message-ID: <200306121521.h5CFLFEs022739@clunix.cl.msu.edu> In-Reply-To: <3EE88D9F.276EAB13@chatusa.com> from "DanB" at Jun 12, 2003 02:26:39 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 > > _______________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306121521.h5CFLFEs022739>