use the DF command to view。
DF is from the Coreutils software package, the system is installed, it comes with, we can use this command to see the disk usage and the location of the file system is mounted;
Example:
[Email protected] ~]# df-l
File system capacity has been used with available% mount points
/dev/sda3 4956316 3565088 1135396 76%/
Tmpfs 241320 241308 1%/DEV/SHM
/dev/sda6 4806904 2523708 2039012 56%/media/disk
/DEV/SDA1 4956284 3529796 1170656 76%/media/_
/dev/sda5 4845056 2581484 2019388 57%/media/disk-1
Description: The partition format of the Linux system uses theformat of xyzN ,XY represents the hard disk type, such as the above results, SD indicates a SCSI hard disk,Z represents the hard drive serial number, the first hard disk is a, the second hard disk is B, so to query the Linux system has a few hard disks, just pay attention to this.n represents the partition code。
Obviously, the Linux system in the example has only one hard drive.
Linux system view a few hard drives