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