Tutorials Point


  Unix for Beginners
  Unix Shell Programming
  Advanced Unix
  Unix Useful References
  Unix Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

partx - Unix, Linux Command


previous next AddThis Social Bookmark Button


Advertisements

NAME

partx - telling the kernel about presence and numbering of on-disk partitions.

SYNOPSIS

partx [-a|-d|-l] [--type TYPE] [--nr M-N] [partition] disk

DESCRIPTION

Given a block device ( disk ) and a partition table type , try to parse the partition table, and list the contents. Optionally add or remove partitions.

This is not an fdisk - adding and removing partitions is not a change of the disk, but just telling the kernel about presence and numbering of on-disk partitions.

OPTIONS

TagDescription
-a add specified partitions or read disk and add all partitions
-d delete specified or all partitions
-l list partitions
--type TYPE
  Specify the partition type -- dos, bsd, solaris, unixware or gpt.
--nr M-N
  Specify the range of partitions (e.g --nr 2-4).

SEE ALSO



previous next Printer Friendly

Advertisements


  

Advertisements