Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Yield TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Yield NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Yield NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Partition table management.

Usage:
    %(cmd)s list [ <device> ...]
    %(cmd)s create [ --gpt | --msdos ] <device> ...
    %(cmd)s show  [ <device> ...]

Commands:
    list        List partition tables on given device.
                If no devices are provided, all partition tables are listed.

    create      Create a partition table on given devices. The devices must be
                empty, i.e. must not have any partitions on them. GPT partition
                table is created by default.

    show        Show detailed information about partition table on given
                devices. If no devices are provided, all of them are displayed.

Options:
    device      Identifier of the device. Either one of:

                * DeviceID of appropriate CIM_StorageExtent object. This is
                  internal OpenLMI ID of the device and it should be stable
                  across system reboots.

                * Device name directly in /dev directory, such as '/dev/sda'.
                  This device name is available as Name property of
                  CIM_StorageExtent object.

                * Name of MD RAID or logical volume. This method cannot be used
                  when the name is not unique, for example when there are two
                  logical volumes with the same name, allocated from different
                  volume groups. This name is available as ElementName
                  property of CIM_StorageExtent object.

    --gpt       Create GPT partition table (default).
    --msdos     Create MS-DOS partition table.
 lmi.shell.LMIUtil lmi_isinstance lmi.scripts.common command lmi.scripts.common get_logger lmi.scripts.common.formatter command fcmd lmi.scripts.storage show fs lvm mount raid partition lmi.scripts.storage.common size2str get_devices get_children get_parents str2device str2size str2vg N/A LOG N/A get_logger __name__ PartitionTableList N/A N/A command LmiLister N/A N/A COLUMNS N/A Name Type Largest free region transform_options N/A N/A self options N/A N/A N/A 
        Rename 'device' option to 'devices' parameter name for better
        readability.
         N/A N/A options N/A <devices> N/A N/A options pop <device> N/A execute N/A N/A self ns devices N/A None N/A N/A 
        Implementation of 'partition-table list' command.
         N/A cls N/A ns LMI_DiskPartitionConfigurationCapabilities N/A N/A device table N/A N/A partition get_partition_tables ns devices N/A N/A N/A N/A N/A LOG debug Examining %s N/A device Name N/A largest_size N/A N/A partition get_largest_partition_size ns device N/A largest_size N/A size2str largest_size N/A N/A N/A self app config human_friendly N/A N/A N/A table PartitionStyle N/A N/A cls PartitionStyleValues MBR N/A N/A table_type MS-DOS N/A N/A table_type N/A N/A N/A cls PartitionStyleValues value_name N/A table PartitionStyle N/A N/A N/A N/A device Name table_type largest_size N/A N/A PartitionTableCreate N/A N/A command LmiCheckResult N/A N/A EXPECT None transform_options N/A N/A self options N/A N/A N/A 
        Rename 'device' option to 'devices' parameter name for better
        readability.
         N/A N/A options N/A <devices> N/A N/A options pop <device> N/A execute N/A N/A self ns devices _gpt _msdos N/A N/A N/A 
        Implementation of 'partition-table create' command.
         N/A _msdos N/A N/A ptype N/A partition PARTITION_TABLE_TYPE_MSDOS N/A N/A ptype N/A partition PARTITION_TABLE_TYPE_GPT N/A device devices N/A N/A N/A N/A partition create_partition_table ns device ptype N/A N/A PartitionTableShow N/A N/A command LmiLister N/A N/A COLUMNS N/A Name Value transform_options N/A N/A self options N/A N/A N/A 
        Rename 'device' option to 'devices' parameter name for better
        readability.
         N/A N/A options N/A <devices> N/A N/A options pop <device> N/A execute N/A N/A self ns devices N/A None N/A N/A 
        Implementation of 'partition-table show' command.
         N/A N/A devices N/A N/A ret N/A N/A partition get_partition_tables ns N/A devices N/A N/A i N/A 0 N/A i ret N/A device devices N/A N/A device N/A str2device ns device N/A cmd N/A N/A fcmd NewTableCommand title N/A device DeviceID N/A N/A cmd N/A line N/A N/A show partition_table_show ns device N/A N/A N/A self app config human_friendly N/A N/A N/A line N/A N/A PartitionTable N/A N/A command LmiCommandMultiplexer N/A N/A OWN_USAGE __doc__ N/A COMMANDS N/A list create show PartitionTableList PartitionTableCreate PartitionTableShow N/A