>echo p | fdisk /dev/hdb
>
>is a little messy,
>
>I get an infinite loop. ;-)
So do I. I like "fdisk -l", which runs the `p' command on each disk in your
system and exits.
TTFN
Andy
[EMAIL PROTECTED] http://www.linuxchix.org
> > grep hdb /var/log/messages|more
> > is better. It tells you what the disk told the OS when it booted.
> Bingo. Thanks, Jeff!
Actually, this is probably the right way to do it:
hdparm -g /dev/hda
/dev/hda:
geometry = 1048/16/63, sectors = 1056992, start = 0
Multiply sectors
> > Also, I seem to remember there's a way to find out how large a disk I
> > have without having to open my box and look at it. Anyone?
echo p | fdisk /dev/hdb
is a little messy,
I get an infinite loop. ;-)
grep hdb /var/log/messages|more
is better. It tells