1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/config
Alasdair G Kergon a3a5f58c21 reporting: Add devtypes command.
Add internal devtypes reporting command to display built-in recognised
block device types.  (The output does not include any additional
types added by a configuration file.)

> lvm devtypes -o help
  Device Types Fields
  -------------------
    devtype_all            - All fields in this section.
    devtype_name           - Name of Device Type exactly as it appears in /proc/devices.
    devtype_max_partitions - Maximum number of partitions. (How many device minor numbers get reserved for each device.)
    devtype_description    - Description of Device Type.

> lvm devtypes
  DevType       MaxParts Description
  aoe                 16 ATA over Ethernet
  ataraid             16 ATA Raid
  bcache               1 bcache block device cache
  blkext               1 Extended device partitions
...
2013-09-18 01:09:15 +01:00
..
config_settings.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00
config.c workaround: gcc v4.8 on 32 bit param. passing bug when -02 opimization used 2013-08-09 13:24:50 +02:00
config.h cleanup: comments and a message 2013-07-24 22:10:37 +01:00
defaults.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00