how to Determine the size of each partition

I wonder how to determine the size of the partition in linux.
part
jskfanAsked:
Who is Participating?
 
SandyConnect With a Mentor Commented:
So


sda is your whole disk
sda1 is first FS which is mounted on "/" having size of 10 GB approx
sda2 is just a partition of 1 block (leave it)
sda5 is your last extended one which is being used by swap to see swap space use #free -m

sr0 is your dvd/iso image device

TY/SA
0
 
savoneConnect With a Mentor Commented:
df -h
0
 
SandyConnect With a Mentor Commented:
How to i recog

1st is 10 GB
then extended 1 GB

counting in bytes ;)

Best way is df -h

TY/SA
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
jskfanAuthor Commented:
proc
0
 
jskfanAuthor Commented:
I can see more partitions using cat /proc/partitions
0
 
jskfanAuthor Commented:
df -h


it gives something different
df -h
0
 
jskfanAuthor Commented:
Thank you Guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.