LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   DF -h output (https://www.linuxquestions.org/questions/linux-general-1/df-h-output-4175441752/)

JJJCR 12-17-2012 03:43 AM

DF -h output
 
hi guys, i had type this command:
df -h

and i had these results:
Mounted on
/dev/sda3 /
udev /dev
/dev/sda5 /home

how to determine the device map settings on this?

is it /dev/sda3 = (hd0,1)

please help.

Thanks.

acid_kewpie 12-17-2012 03:53 AM

sda3 is the third (3) partition on the first (a) scsi (s) device(d)

from grub speak, (hd0,1) would be sda2

JJJCR 12-17-2012 04:01 AM

hi kewpie, thank you for your reply.

just want to check with you this one. i had type fdisk -l and i had this output below:

Device Boot Start End Blocks Id System
/dev/sda1 1 258 2072353+ 82 Linux swap / Solaris
/dev/sda3 * 259 1303 8393962+ 83 Linux
/dev/sda4 1304 53502 419288467+ f W95 Ext'd (LBA)
/dev/sda5 1304 53502 419288436 83 Linux

does it mean that my system has dual booting with Solaris?

what is sda4 W95 Ext'd (LBA)?

Thank you.

acid_kewpie 12-17-2012 04:06 AM

that column is just the partition flag, type 82 is just a swap partition.

the extd is a dos extended partition, which contains any logical partitions (sda5 here)

JJJCR 12-17-2012 08:47 PM

Wow, thank you. You have Linux at your heart already.

Thanks for sharing the knowledge.

Merry Christmas!


All times are GMT -5. The time now is 06:40 AM.