Web Hosting Talk







View Full Version : how to view partition info


linuxnewbie
07-15-2002, 10:40 AM
how to view partition info on red hat linux 7.1?

thanks!

MaB
07-15-2002, 10:51 AM
YOU mean usage and things like that?
df or I like df -m

You can use fdisk /dev/hdXX

linuxnewbie
07-15-2002, 11:03 AM
nope to see how many partitions exist on the disk, any unused space etc

MaB
07-15-2002, 11:05 AM
df will show you mounted partitions
fdisk /dev/hdXX will give you more details

linuxnewbie
07-15-2002, 11:11 AM
thanks bud :)

linuxnewbie
07-15-2002, 11:25 AM
anyway to check if theres unallocated space on the hard disk?

i have a 60 gb hdd
.55gb is set for /home
.1gb is set for /boot

what happened to the remaining 4gb? lost due to block sizes?

erapid
07-15-2002, 11:35 AM
Hi

HDD size is always printed as "unformated"
The real size is less, minus the service information, for example

Regards