cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Starfighter Starfighter
Starfighter
  • 17 Views

Number of Sectors

I want to display the number of sectors that exist on a particular disk
partition.  I know I can do so using the command:   

          #   fdisk  -l   /dev/<partition-device-name>

For example:  #  fdisk  -l   /dev/sda1

 

Is there any other (one line) command that will display the number
of sectors of a disk partition?

 

Note:  This is a query for the RHCSA-level audience

 

Trevor "Red Hat Evangelist" Chandler
Labels (3)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.