Results 1 to 3 of 3
Hello.
I need to write a program where i get informations of
partitions on the disk. I need to know how many there are and
how much room do they ...
- 04-30-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
Getting information of a disk.
Hello.
I need to write a program where i get informations of
partitions on the disk. I need to know how many there are and
how much room do they have left and so on.
Please tell me some commands that will help me.
Thank you.
- 04-30-2008 #2
Hi PeroMed,
To Know about mounted disk partitions and it's free space details
use df command
df -h- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 05-02-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
Thanks for your answer.
I used df -h -T to get types of partitions and it worked great.


Reply With Quote