LVM Name Strings

LVM defines various data fields for name strings that are used to identify disks, partitions, volumes, and filesystems.

The sizes of these character arrays are defined by the contents described below.

Note that LVM allows the name to occupy the full length of the array; in such cases, the string will not have a terminating null character. The string will be null-terminated if it is shorter than the total length of the array.

PARTITION_NAME_SIZE 20 Defines the size of a partition name. Partition names are user defined names given to a partition.
VOLUME_NAME_SIZE 20 Defines the size of a volume name. Volume names are user defined names given to a volume.
DISK_NAME_SIZE 20 Defines the size of a disk name. Disk names are user defined names given to physical disk drives in the system.
FILESYSTEM_NAME_SIZE 20 The name of the filesystem in use on a partition. In practice, a filesystem name will not be more than 12 characters long (followed by a null terminator).