Results 1 to 4 of 4
Hi all, I have to write a script or program to log the details of the primary partition of a linux server which should be generic. Can anyone tel what ...
- 02-28-2011 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 85
How to know the primary partition of a linux system
Hi all, I have to write a script or program to log the details of the primary partition of a linux server which should be generic. Can anyone tel what is the command in linux to get the list of the partitions and how to find the primary partition among the other. Or can I know from proc filesystem.
Thanks in advance
- 02-28-2011 #2and look out for primary denoted by "*"fdisk -l- 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
-------------------
- 02-28-2011 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 85
thnks for the reply. I have seen the output itz giving /dev/sda1 as the partition. I can see that a boot partition.
then how will I know the partition of RFS ???
- 02-28-2011 #4- 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
-------------------


Reply With Quote
