cat proc partitions
Sample output:
Major is the driver version. Minor tells us which disk or which controller it is using. Blocks is the size of disk in blocks. We can see the storage sda has seven partition sda, sda1, sda2 to sda6.
Alternative command:
You can use fdisk and then p command to print info about the partition.
No comments:
Post a Comment