1379
1324
<!-- ************************************************************ -->
1381
<property name="native-path" type="s" access="read">
1326
<property name="NativePath" type="s" access="read">
1382
1327
<doc:doc><doc:description><doc:para>
1383
1328
OS specific native path of the device. On Linux this is the sysfs path, for example <doc:tt>/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sda</doc:tt>.
1384
1329
</doc:para></doc:description></doc:doc>
1386
<property name="device-detection-time" type="t" access="read">
1331
<property name="DeviceDetectionTime" type="t" access="read">
1387
1332
<doc:doc><doc:description><doc:para>
1388
1333
The point in time (seconds since the Epoch Jan 1, 1970 0:00 UTC) when the device
1389
1334
was detected by the daemon.
1390
1335
</doc:para></doc:description></doc:doc>
1392
<property name="device-media-detection-time" type="t" access="read">
1337
<property name="DeviceMediaDetectionTime" type="t" access="read">
1393
1338
<doc:doc><doc:description><doc:para>
1394
1339
The point in time (seconds since the Epoch Jan 1, 1970 0:00 UTC) when the
1395
1340
media currently in the device was detected by the daemon or 0 if the
1396
1341
device has no media.
1397
1342
</doc:para></doc:description></doc:doc>
1399
<property name="device-major" type="x" access="read">
1400
<doc:doc><doc:description><doc:para>
1401
Major for the device or -1 if not set.
1402
</doc:para></doc:description></doc:doc>
1404
<property name="device-minor" type="x" access="read">
1405
<doc:doc><doc:description><doc:para>
1406
Major for the device or -1 if not set.
1407
</doc:para></doc:description></doc:doc>
1409
<property name="device-file" type="s" access="read">
1344
<property name="DeviceMajor" type="x" access="read">
1345
<doc:doc><doc:description><doc:para>
1346
Major for the device or -1 if not set.
1347
</doc:para></doc:description></doc:doc>
1349
<property name="DeviceMinor" type="x" access="read">
1350
<doc:doc><doc:description><doc:para>
1351
Major for the device or -1 if not set.
1352
</doc:para></doc:description></doc:doc>
1354
<property name="DeviceFile" type="s" access="read">
1410
1355
<doc:doc><doc:description><doc:para>
1411
1356
UNIX special device file for device. Example: <doc:tt>/dev/sda</doc:tt>.
1412
1357
</doc:para></doc:description></doc:doc>
1414
<property name="device-file-by-id" type="as" access="read">
1359
<property name="DeviceFileById" type="as" access="read">
1415
1360
<doc:doc><doc:description><doc:para>
1416
1361
Symlinks to UNIX special device file that are stable and uniquely identifies the device.
1417
1362
Example: <doc:tt>/dev/disk/by-id/scsi-SATA_ST910021AS_3MH05AVA</doc:tt>,
1418
1363
<doc:tt>/dev/disk/by-id/ata-ST910021AS_3MH05AVA</doc:tt>.
1419
1364
</doc:para></doc:description></doc:doc>
1421
<property name="device-file-by-path" type="as" access="read">
1366
<property name="DeviceFileByPath" type="as" access="read">
1422
1367
<doc:doc><doc:description><doc:para>
1423
1368
Symlinks to UNIX special device file that uniquely identifies the port/partition the device
1424
1369
is plugged into. Example: <doc:tt>/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:1:0</doc:tt>
1425
1370
</doc:para></doc:description></doc:doc>
1427
<property name="device-is-system-internal" type="b" access="read">
1372
<property name="DeviceIsSystemInternal" type="b" access="read">
1428
1373
<doc:doc><doc:description><doc:para>
1429
1374
TRUE if the device is considered system internal. Typically, system internal devices
1430
1375
include non-removable internal hard disks and other drives that are not easily added/removed
1468
1413
</doc:para></doc:description></doc:doc>
1470
<property name="device-is-media-change-detection-inhibitable" type="b" access="read">
1415
<property name="DeviceIsMediaChangeDetectionInhibitable" type="b" access="read">
1471
1416
<doc:doc><doc:description><doc:para>
1472
1417
TRUE if it is possible to inhibit media detection on the device (to avoid keeping the device in a high power state and waking up the host).
1473
1418
</doc:para></doc:description></doc:doc>
1475
<property name="device-is-media-change-detection-inhibited" type="b" access="read">
1420
<property name="DeviceIsMediaChangeDetectionInhibited" type="b" access="read">
1476
1421
<doc:doc><doc:description><doc:para>
1477
1422
TRUE if media detection is inhibited (to avoid keeping the device in a high power state and waking up the host).
1478
1423
</doc:para></doc:description></doc:doc>
1480
<property name="device-is-read-only" type="b" access="read">
1425
<property name="DeviceIsReadOnly" type="b" access="read">
1481
1426
<doc:doc><doc:description><doc:para>
1482
1427
TRUE if the device read-only.
1483
1428
</doc:para></doc:description></doc:doc>
1485
<property name="device-is-drive" type="b" access="read">
1430
<property name="DeviceIsDrive" type="b" access="read">
1486
1431
<doc:doc><doc:description><doc:para>
1487
1432
TRUE if the device is a drive.
1488
1433
See the drive- properties for details.
1489
1434
</doc:para></doc:description></doc:doc>
1491
<property name="device-is-optical-disc" type="b" access="read">
1436
<property name="DeviceIsOpticalDisc" type="b" access="read">
1492
1437
<doc:doc><doc:description><doc:para>
1493
1438
TRUE if the device is an optical drive and an optical disc is inserted.
1494
1439
See the optical-disc- properties for details.
1495
1440
</doc:para></doc:description></doc:doc>
1497
<property name="device-is-mounted" type="b" access="read">
1442
<property name="DeviceIsMounted" type="b" access="read">
1498
1443
<doc:doc><doc:description><doc:para>
1499
1444
TRUE if the device is mounted.
1500
1445
</doc:para></doc:description></doc:doc>
1502
<property name="device-mount-paths" type="as" access="read">
1447
<property name="DeviceMountPaths" type="as" access="read">
1503
1448
<doc:doc><doc:description><doc:para>
1504
1449
A list of paths in the root namespace where the root of the device is mounted.
1505
1450
This property is only valid if
1506
<doc:ref type="property" to="Device:device-is-mounted">device-is-mounted</doc:ref>
1451
<doc:ref type="property" to="Device:DeviceIsMounted">DeviceIsMounted</doc:ref>
1508
1453
</doc:para></doc:description></doc:doc>
1510
<property name="device-mounted-by-uid" type="u" access="read">
1455
<property name="DeviceMountedByUid" type="u" access="read">
1511
1456
<doc:doc><doc:description><doc:para>
1512
1457
The UNIX user id of the user who mounted the device. Set to 0 if
1513
1458
not mounted by DeviceKit-disks.
1514
1459
This property is only valid if
1515
<doc:ref type="property" to="Device:device-is-mounted">device-is-mounted</doc:ref>
1460
<doc:ref type="property" to="Device:DeviceIsMounted">DeviceIsMounted</doc:ref>
1517
1462
</doc:para></doc:description></doc:doc>
1519
<property name="device-is-luks" type="b" access="read">
1520
<doc:doc><doc:description><doc:para>
1521
TRUE if device is an LUKS encrypted device. See luks- properties for details.
1522
</doc:para></doc:description></doc:doc>
1524
<property name="device-is-luks-cleartext" type="b" access="read">
1525
<doc:doc><doc:description><doc:para>
1526
TRUE if device is a cleartext device backed by a LUKS encrypted device. See luks-cleartext- properties for details.
1527
</doc:para></doc:description></doc:doc>
1529
<property name="device-is-linux-md-component" type="b" access="read">
1530
<doc:doc><doc:description><doc:para>
1531
TRUE if the device is a Linux md RAID component. See linux-md-component- properties for details.
1532
</doc:para></doc:description></doc:doc>
1534
<property name="device-is-linux-md" type="b" access="read">
1535
<doc:doc><doc:description><doc:para>
1536
TRUE if the device is a Linux md RAID array. See linux-md- properties for details.
1537
</doc:para></doc:description></doc:doc>
1539
<property name="device-size" type="t" access="read">
1464
<property name="DeviceIsLuks" type="b" access="read">
1465
<doc:doc><doc:description><doc:para>
1466
TRUE if device is an LUKS encrypted device. See Lucks properties for details.
1467
</doc:para></doc:description></doc:doc>
1469
<property name="DeviceIsLuksCleartext" type="b" access="read">
1470
<doc:doc><doc:description><doc:para>
1471
TRUE if device is a cleartext device backed by a LUKS encrypted device. See LucksCleartext properties for details.
1472
</doc:para></doc:description></doc:doc>
1474
<property name="DeviceIsLinuxMdComponent" type="b" access="read">
1475
<doc:doc><doc:description><doc:para>
1476
TRUE if the device is a Linux md RAID component. See LinuxMdComponent properties for details.
1477
</doc:para></doc:description></doc:doc>
1479
<property name="DeviceIsLinuxMd" type="b" access="read">
1480
<doc:doc><doc:description><doc:para>
1481
TRUE if the device is a Linux md RAID array. See LinuxMd properties for details.
1482
</doc:para></doc:description></doc:doc>
1484
<property name="DeviceSize" type="t" access="read">
1540
1485
<doc:doc><doc:description><doc:para>
1541
1486
The size of the device in bytes.
1542
1487
</doc:para></doc:description></doc:doc>
1544
<property name="device-block-size" type="t" access="read">
1489
<property name="DeviceBlockSize" type="t" access="read">
1545
1490
<doc:doc><doc:description><doc:para>
1546
1491
The block size of the device in bytes.
1547
1492
</doc:para></doc:description></doc:doc>
1549
<property name="device-presentation-hide" type="b" access="read">
1494
<property name="DevicePresentationHide" type="b" access="read">
1550
1495
<doc:doc><doc:description><doc:para>
1551
1496
A hint if the device should be hidden from the user interface.
1552
1497
</doc:para></doc:description></doc:doc>
1554
<property name="device-presentation-nopolicy" type="b" access="read">
1499
<property name="DevicePresentationNopolicy" type="b" access="read">
1555
1500
<doc:doc><doc:description><doc:para>
1556
1501
A hint if the device (or e.g. the multi-disk device that the device is
1557
1502
part of) shouldn't be automatically mounted / assembled.
1558
1503
</doc:para></doc:description></doc:doc>
1560
<property name="device-presentation-name" type="s" access="read">
1505
<property name="DevicePresentationName" type="s" access="read">
1561
1506
<doc:doc><doc:description><doc:para>
1562
1507
The name to use when presenting the device to an end user.
1563
1508
</doc:para></doc:description></doc:doc>
1565
<property name="device-presentation-icon-name" type="s" access="read">
1510
<property name="DevicePresentationIconName" type="s" access="read">
1566
1511
<doc:doc><doc:description><doc:para>
1567
1512
The icon to use when presenting the device to an end user. If set, must be a name
1568
1513
following the freedesktop.org icon theme specification.
1569
1514
</doc:para></doc:description></doc:doc>
1572
<property name="job-in-progress" type="b" access="read">
1517
<property name="JobInProgress" type="b" access="read">
1573
1518
<doc:doc><doc:description><doc:para>
1574
1519
The job properties specify if a job initiated via the
1575
1520
DeviceKit-disks daemon is currently in progress.
1576
1521
</doc:para></doc:description></doc:doc>
1578
<property name="job-id" type="s" access="read">
1523
<property name="JobId" type="s" access="read">
1579
1524
<doc:doc><doc:description><doc:para>
1580
1525
This property is used to identify the job and maps 1-1
1581
1526
with the names of the method calls on this interface,
1582
1527
e.g. 'FilesystemCreate' and so on.
1583
1528
</doc:para></doc:description></doc:doc>
1585
<property name="job-initiated-by-uid" type="u" access="read">
1530
<property name="JobInitiatedByUid" type="u" access="read">
1586
1531
<doc:doc><doc:description><doc:para>
1587
1532
The UNIX user id of the user who initiated the job.
1588
1533
</doc:para></doc:description></doc:doc>
1590
<property name="job-is-cancellable" type="b" access="read">
1535
<property name="JobIsCancellable" type="b" access="read">
1591
1536
<doc:doc><doc:description><doc:para>
1592
1537
Whether the job can be cancelled
1593
1538
using <doc:ref type="method"
1594
1539
to="Device.JobCancel">JobCancel()</doc:ref> method.
1595
1540
</doc:para></doc:description></doc:doc>
1597
<property name="job-percentage" type="d" access="read">
1542
<property name="JobPercentage" type="d" access="read">
1598
1543
<doc:doc><doc:description><doc:para>
1599
1544
Percentage completed of the job (between 0 and 100, negative if unknown).
1600
1545
</doc:para></doc:description></doc:doc>
1603
<property name="id-usage" type="s" access="read">
1548
<property name="IdUsage" type="s" access="read">
1604
1549
<doc:doc><doc:description><doc:para>
1605
1550
A result of probing for signatures on the block device;
1606
1551
known values are:
1684
1629
</doc:para></doc:description></doc:doc>
1686
<property name="id-version" type="s" access="read">
1631
<property name="IdVersion" type="s" access="read">
1687
1632
<doc:doc><doc:description><doc:para>
1688
1633
The version of the
1689
1634
detected file system (or other identified data structure) identified by the
1690
<doc:ref type="property" to="Device:id-usage">id-usage</doc:ref>
1635
<doc:ref type="property" to="Device:IdUsage">IdUsage</doc:ref>
1692
<doc:ref type="property" to="Device:id-usage">id-type</doc:ref>
1637
<doc:ref type="property" to="Device:IdType">IdType</doc:ref>
1694
1639
</doc:para></doc:description></doc:doc>
1696
<property name="id-uuid" type="s" access="read">
1641
<property name="IdUuid" type="s" access="read">
1697
1642
<doc:doc><doc:description><doc:para>
1698
1643
The UUID (universally unique identifier) of the
1699
1644
detected file system (or other identified data structure) identified by the
1700
<doc:ref type="property" to="Device:id-usage">id-usage</doc:ref>
1645
<doc:ref type="property" to="Device:IdUsage">IdUsage</doc:ref>
1702
<doc:ref type="property" to="Device:id-usage">id-type</doc:ref>
1647
<doc:ref type="property" to="Device:IdUsage">IdType</doc:ref>
1704
1649
</doc:para></doc:description></doc:doc>
1706
<property name="id-label" type="s" access="read">
1651
<property name="IdLabel" type="s" access="read">
1707
1652
<doc:doc><doc:description><doc:para>
1708
1653
The user-visible label of the
1709
1654
detected file system (or other identified data structure) identified by the
1710
<doc:ref type="property" to="Device:id-usage">id-usage</doc:ref>
1655
<doc:ref type="property" to="Device:IdUsage">IdUsage</doc:ref>
1712
<doc:ref type="property" to="Device:id-usage">id-type</doc:ref>
1657
<doc:ref type="property" to="Device:IdUsage">IdType</doc:ref>
1714
1659
</doc:para></doc:description></doc:doc>
1717
<property name="luks-holder" type="o" access="read">
1662
<property name="LuksHolder" type="o" access="read">
1718
1663
<doc:doc><doc:description><doc:para>
1719
1664
The cleartext device that is using the LUKS device.
1720
1665
This property is only valid if
1721
<doc:ref type="property" to="Device:device-is-luks-cleartext">device-is-luks</doc:ref>
1666
<doc:ref type="property" to="Device:DeviceIsLuksCleartext">DeviceIsLuks</doc:ref>
1723
1668
</doc:para></doc:description></doc:doc>
1726
<property name="luks-cleartext-slave" type="o" access="read">
1671
<property name="LuksCleartextSlave" type="o" access="read">
1727
1672
<doc:doc><doc:description><doc:para>
1728
1673
The encrypted LUKS device backing a crypto cleartext device.
1729
1674
This property is only valid if
1730
<doc:ref type="property" to="Device:device-is-luks-cleartext">device-is-luks-cleartext</doc:ref>
1675
<doc:ref type="property" to="Device:DeviceIsLuksCleartext">DeviceIsLuksCleartext</doc:ref>
1732
1677
</doc:para></doc:description></doc:doc>
1734
<property name="luks-cleartext-unlocked-by-uid" type="u" access="read">
1679
<property name="LuksCleartextUnlockedByUid" type="u" access="read">
1735
1680
<doc:doc><doc:description><doc:para>
1736
1681
The UNIX user id of the user who unlocked the LUKS device. Set to 0 if
1737
1682
not unlocked by DeviceKit-disks.
1738
1683
This property is only valid if
1739
<doc:ref type="property" to="Device:device-is-luks-cleartext">device-is-luks-cleartext</doc:ref>
1684
<doc:ref type="property" to="Device:DeviceIsLuksCleartext">DeviceIsLuksCleartext</doc:ref>
1741
1686
</doc:para></doc:description></doc:doc>
1744
<property name="partition-slave" type="o" access="read">
1689
<property name="PartitionSlave" type="o" access="read">
1745
1690
<doc:doc><doc:description><doc:para>
1746
1691
The object path of the partition table the partition is part of.
1747
1692
This property is only valid if
1748
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1693
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1750
1695
</doc:para></doc:description></doc:doc>
1752
<property name="partition-scheme" type="s" access="read">
1697
<property name="PartitionScheme" type="s" access="read">
1753
1698
<doc:doc><doc:description><doc:para>
1754
1699
The scheme of the partition table this partition is part of.
1755
1700
See the <doc:tt>scheme</doc:tt> parameter of the
1756
1701
<doc:ref type="method" to="Device.PartitionTableCreate">PartitionTableCreate()</doc:ref> method
1757
1702
for details on known partitioning schemes.
1758
1703
This property is only valid if
1759
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1704
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1761
1706
</doc:para></doc:description></doc:doc>
1763
<property name="partition-type" type="s" access="read">
1708
<property name="PartitionType" type="s" access="read">
1764
1709
<doc:doc><doc:description><doc:para>
1765
1710
The type of the partition.
1766
1711
See the <doc:tt>type</doc:tt> parameter of the
1767
1712
<doc:ref type="method" to="Device.PartitionCreate">PartitionCreate()</doc:ref> method
1768
1713
for details on known partitioning types.
1769
1714
This property is only valid if
1770
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1715
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1772
1717
</doc:para></doc:description></doc:doc>
1774
<property name="partition-label" type="s" access="read">
1719
<property name="PartitionLabel" type="s" access="read">
1775
1720
<doc:doc><doc:description><doc:para>
1776
1721
The label of the partition.
1777
1722
See the <doc:tt>label</doc:tt> parameter of the
1778
1723
<doc:ref type="method" to="Device.PartitionCreate">PartitionCreate()</doc:ref> method
1779
1724
for details on partition labels.
1780
1725
This property is only valid if
1781
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1726
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1783
1728
</doc:para></doc:description></doc:doc>
1785
<property name="partition-uuid" type="s" access="read">
1730
<property name="PartitionUuid" type="s" access="read">
1786
1731
<doc:doc><doc:description><doc:para>
1787
1732
The UUID of the partition.
1788
1733
See the <doc:tt>uuid</doc:tt> parameter of the
1789
1734
<doc:ref type="method" to="Device.PartitionCreate">PartitionCreate()</doc:ref> method
1790
1735
for details on partition UUID's.
1791
1736
This property is only valid if
1792
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1737
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1794
1739
</doc:para></doc:description></doc:doc>
1796
<property name="partition-flags" type="as" access="read">
1741
<property name="PartitionFlags" type="as" access="read">
1797
1742
<doc:doc><doc:description><doc:para>
1798
1743
Partition flags.
1799
1744
See the <doc:tt>flags</doc:tt> parameter of the
1800
1745
<doc:ref type="method" to="Device.PartitionCreate">PartitionCreate()</doc:ref> method
1801
1746
for details on partition flags.
1802
1747
This property is only valid if
1803
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1748
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1805
1750
</doc:para></doc:description></doc:doc>
1807
<property name="partition-number" type="i" access="read">
1752
<property name="PartitionNumber" type="i" access="read">
1808
1753
<doc:doc><doc:description><doc:para>
1809
1754
Number of the partition. Typically partition numbers start at 1 and are identical
1810
1755
to the numbers used by the kernel. Note that partitions may not be sequentially
1812
1757
This property is only valid if
1813
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1758
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1815
1760
</doc:para></doc:description></doc:doc>
1817
<property name="partition-offset" type="t" access="read">
1762
<property name="PartitionOffset" type="t" access="read">
1818
1763
<doc:doc><doc:description><doc:para>
1819
1764
Offset in bytes where the partition is located on the enclosing partition table device (see
1820
<doc:ref type="property" to="Device:device-is-partition">partition-slave</doc:ref>).
1765
<doc:ref type="property" to="Device:DeviceIsPartition">PartitionSlave</doc:ref>).
1821
1766
This property is only valid if
1822
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1767
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1824
1769
</doc:para></doc:description></doc:doc>
1826
<property name="partition-size" type="t" access="read">
1771
<property name="PartitionSize" type="t" access="read">
1827
1772
<doc:doc><doc:description><doc:para>
1828
1773
Size of the partition in bytes.
1829
1774
This property is only valid if
1830
<doc:ref type="property" to="Device:device-is-partition">device-is-partition</doc:ref>
1775
<doc:ref type="property" to="Device:DeviceIsPartition">DeviceIsPartition</doc:ref>
1832
1777
</doc:para></doc:description></doc:doc>
1835
<property name="partition-table-scheme" type="s" access="read">
1780
<property name="PartitionTableScheme" type="s" access="read">
1836
1781
<doc:doc><doc:description><doc:para>
1837
1782
The scheme of the partition table.
1838
1783
See the <doc:tt>scheme</doc:tt> parameter of the
1839
1784
<doc:ref type="method" to="Device.PartitionTableCreate">PartitionTableCreate()</doc:ref> method
1840
1785
for details on known partitioning schemes.
1841
1786
This property is only valid if
1842
<doc:ref type="property" to="Device:device-is-partition-table">device-is-partition-table</doc:ref>
1787
<doc:ref type="property" to="Device:DeviceIsPartitionTable">DeviceIsPartitionTable</doc:ref>
1844
1789
</doc:para></doc:description></doc:doc>
1846
<property name="partition-table-count" type="i" access="read">
1791
<property name="PartitionTableCount" type="i" access="read">
1847
1792
<doc:doc><doc:description><doc:para>
1848
1793
Number of partitions in the partition table.
1849
1794
This property is only valid if
1850
<doc:ref type="property" to="Device:device-is-partition-table">device-is-partition-table</doc:ref>
1795
<doc:ref type="property" to="Device:DeviceIsPartitionTable">DeviceIsPartitionTable</doc:ref>
1852
1797
</doc:para></doc:description></doc:doc>
1855
<property name="drive-vendor" type="s" access="read">
1800
<property name="DriveVendor" type="s" access="read">
1856
1801
<doc:doc><doc:description><doc:para>
1857
1802
Name of the vendor of the drive, for example <doc:tt>MATSHITA</doc:tt> or <doc:tt>BELKIN</doc:tt>.
1858
1803
This property is only valid if
1859
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
1804
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
1861
1806
</doc:para></doc:description></doc:doc>
1863
<property name="drive-model" type="s" access="read">
1808
<property name="DriveModel" type="s" access="read">
1864
1809
<doc:doc><doc:description><doc:para>
1865
1810
Name of the model of the drive, for example <doc:tt>ST910021AS</doc:tt> or <doc:tt>USB 2 HS-CF</doc:tt>.
1866
1811
This property is only valid if
1867
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
1812
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
1869
1814
</doc:para></doc:description></doc:doc>
1871
<property name="drive-revision" type="s" access="read">
1816
<property name="DriveRevision" type="s" access="read">
1872
1817
<doc:doc><doc:description><doc:para>
1873
1818
Revision of the drive, for example <doc:tt>3.07</doc:tt> or <doc:tt>1.95</doc:tt>.
1874
1819
This property is only valid if
1875
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
1820
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
1877
1822
</doc:para></doc:description></doc:doc>
1879
<property name="drive-serial" type="s" access="read">
1824
<property name="DriveSerial" type="s" access="read">
1880
1825
<doc:doc><doc:description><doc:para>
1881
1826
The serial number of the drive or blank if unknown.
1882
1827
Examples: <doc:tt>3MH05AVA</doc:tt>, <doc:tt>A0000001B900</doc:tt>.
1883
1828
This property is only valid if
1884
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
1829
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
1886
1831
</doc:para></doc:description></doc:doc>
1888
<property name="drive-connection-interface" type="s" access="read">
1833
<property name="DriveConnectionInterface" type="s" access="read">
1889
1834
<doc:doc><doc:description><doc:para>
1890
1835
The interface through which the drive is connected. Known values include:
2080
2025
</doc:para><doc:para>
2081
2026
This property is only valid if
2082
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2027
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2084
2029
</doc:para></doc:description></doc:doc>
2086
<property name="drive-media" type="s" access="read">
2031
<property name="DriveMedia" type="s" access="read">
2087
2032
<doc:doc><doc:description><doc:para>
2088
2033
The type of media currently in the drive (blank if no media is available). Known
2089
2034
values include the ones listed for the
2090
<doc:ref type="property" to="Device:drive-media-compatibility">drive-media-compatibility</doc:ref>
2035
<doc:ref type="property" to="Device:DriveMediaCompatibility">DriveMediaCompatibility</doc:ref>
2092
2037
This property is only valid if
2093
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2038
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2095
2040
</doc:para></doc:description></doc:doc>
2097
<property name="drive-is-media-ejectable" type="b" access="read">
2042
<property name="DriveIsMediaEjectable" type="b" access="read">
2098
2043
<doc:doc><doc:description><doc:para>
2099
2044
TRUE only if the media can be physically ejected by issuing a command
2100
2045
from the host to the drive (e.g. optical and Zip drives).
2101
2046
This property is only valid if
2102
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2047
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2104
2049
</doc:para></doc:description></doc:doc>
2106
<property name="drive-can-detach" type="b" access="read">
2051
<property name="DriveCanDetach" type="b" access="read">
2107
2052
<doc:doc><doc:description><doc:para>
2108
2053
TRUE only if the drive is capable of being detached by
2109
2054
e.g. powering down the port it is connected to.
2110
2055
This property is only valid if
2111
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2056
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2113
2058
</doc:para></doc:description></doc:doc>
2115
<property name="drive-can-spindown" type="b" access="read">
2060
<property name="DriveCanSpindown" type="b" access="read">
2116
2061
<doc:doc><doc:description><doc:para>
2117
2062
TRUE only if the drive is capable of being put into
2118
2063
a standby mode (typically powering down the spindle motor).
2119
2064
This property is only valid if
2120
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2065
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2122
2067
</doc:para></doc:description></doc:doc>
2124
<property name="drive-is-rotational" type="b" access="read">
2069
<property name="DriveIsRotational" type="b" access="read">
2125
2070
<doc:doc><doc:description><doc:para>
2126
2071
TRUE if the disk uses rotational media, such as a hard disk.
2127
2072
This property is only valid if
2128
<doc:ref type="property" to="Device:device-is-drive">device-is-drive</doc:ref>
2073
<doc:ref type="property" to="Device:DeviceIsDrive">DeviceIsDrive</doc:ref>
2130
2075
</doc:para></doc:description></doc:doc>
2133
<property name="optical-disc-is-blank" type="b" access="read">
2134
<doc:doc><doc:description><doc:para>
2135
TRUE only if the disc is appendable.
2136
This property is only valid if
2137
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2139
</doc:para></doc:description></doc:doc>
2141
<property name="optical-disc-is-appendable" type="b" access="read">
2142
<doc:doc><doc:description><doc:para>
2143
TRUE only if the disc is appendable.
2144
This property is only valid if
2145
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2147
</doc:para></doc:description></doc:doc>
2149
<property name="optical-disc-is-closed" type="b" access="read">
2150
<doc:doc><doc:description><doc:para>
2151
TRUE only if the disc is appendable.
2152
This property is only valid if
2153
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2155
</doc:para></doc:description></doc:doc>
2157
<property name="optical-disc-num-tracks" type="u" access="read">
2078
<property name="OpticalDiscIsBlank" type="b" access="read">
2079
<doc:doc><doc:description><doc:para>
2080
TRUE only if the disc is appendable.
2081
This property is only valid if
2082
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2084
</doc:para></doc:description></doc:doc>
2086
<property name="OpticalDiscIsAppendable" type="b" access="read">
2087
<doc:doc><doc:description><doc:para>
2088
TRUE only if the disc is appendable.
2089
This property is only valid if
2090
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2092
</doc:para></doc:description></doc:doc>
2094
<property name="OpticalDiscIsClosed" type="b" access="read">
2095
<doc:doc><doc:description><doc:para>
2096
TRUE only if the disc is appendable.
2097
This property is only valid if
2098
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2100
</doc:para></doc:description></doc:doc>
2102
<property name="OpticalDiscNumTracks" type="u" access="read">
2158
2103
<doc:doc><doc:description><doc:para>
2159
2104
Number of tracks on the disc.
2160
2105
This property is only valid if
2161
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2106
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2163
2108
</doc:para></doc:description></doc:doc>
2165
<property name="optical-disc-num-audio-tracks" type="u" access="read">
2110
<property name="OpticalDiscNumAudioTracks" type="u" access="read">
2166
2111
<doc:doc><doc:description><doc:para>
2167
2112
Number of audio tracks on the disc.
2168
2113
This property is only valid if
2169
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2114
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2171
2116
</doc:para></doc:description></doc:doc>
2173
<property name="optical-disc-num-sessions" type="u" access="read">
2118
<property name="OpticalDiscNumSessions" type="u" access="read">
2174
2119
<doc:doc><doc:description><doc:para>
2175
2120
Number of sessions on the disc.
2176
2121
This property is only valid if
2177
<doc:ref type="property" to="Device:device-is-optical-disc">device-is-optical-disc</doc:ref>
2122
<doc:ref type="property" to="Device:DeviceIsOpticalDisc">DeviceIsOpticalDisc</doc:ref>
2179
2124
</doc:para></doc:description></doc:doc>
2182
2127
<!-- **************************************************************************************************** -->
2184
<property name="drive-ata-smart-is-available" type="b" access="read">
2185
<doc:doc><doc:description><doc:para>
2186
TRUE only if drive is capable of reporting
2187
<doc:ulink url="http://en.wikipedia.org/wiki/S.M.A.R.T">ATA SMART</doc:ulink>
2189
</doc:para></doc:description></doc:doc>
2191
<property name="drive-ata-smart-is-failing" type="b" access="read">
2192
<doc:doc><doc:description><doc:para>
2193
Set to TRUE if ATA SMART indicates that the disk is failing, TRUE otherwise.
2194
This property is only valid if
2195
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2196
is greater than zero and the property
2197
<doc:ref type="property" to="Device:drive-ata-smart-status-valid">drive-ata-smart-status-valid</doc:ref>
2199
</doc:para></doc:description></doc:doc>
2201
<property name="drive-ata-smart-is-failing-valid" type="b" access="read">
2202
<doc:doc><doc:description><doc:para>
2203
Set to TRUE only if the property
2204
<doc:ref type="property" to="Device:drive-ata-smart-status">drive-ata-smart-status</doc:ref>
2206
This property is only valid if
2207
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2208
is greater than zero.
2209
</doc:para></doc:description></doc:doc>
2211
<property name="drive-ata-smart-has-bad-sectors" type="b" access="read">
2212
<doc:doc><doc:description><doc:para>
2213
Set to TRUE if ATA SMART indicates that one or more sectors are bad, TRUE otherwise.
2214
This property is only valid if
2215
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2216
is greater than zero.
2217
</doc:para></doc:description></doc:doc>
2219
<property name="drive-ata-smart-has-bad-attributes" type="b" access="read">
2220
<doc:doc><doc:description><doc:para>
2221
Set to TRUE if ATA SMART indicates that one or more attributes are exceeding their threshold, TRUE otherwise.
2222
This property is only valid if
2223
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2224
is greater than zero.
2225
</doc:para></doc:description></doc:doc>
2227
<property name="drive-ata-smart-temperature-kelvin" type="d" access="read">
2228
<doc:doc><doc:description><doc:para>
2229
Temperature of the drive in kelvin or 0 if unknown.
2230
This property is only valid if
2231
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2232
is greater than zero.
2233
</doc:para></doc:description></doc:doc>
2235
<property name="drive-ata-smart-power-on-seconds" type="t" access="read">
2236
<doc:doc><doc:description><doc:para>
2237
Seconds the drive has been powered on or 0 if unknown.
2238
This property is only valid if
2239
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2240
is greater than zero.
2241
</doc:para></doc:description></doc:doc>
2243
<property name="drive-ata-smart-time-collected" type="t" access="read">
2129
<property name="DriveAtaSmartIsAvailable" type="b" access="read">
2130
<doc:doc><doc:description><doc:para>
2131
TRUE if the disk is capable of reporting SMART data, FALSE otherwise.
2132
</doc:para></doc:description></doc:doc>
2134
<property name="DriveAtaSmartTimeCollected" type="t" access="read">
2244
2135
<doc:doc><doc:description><doc:para>
2245
2136
The point in time (seconds since the Epoch Jan 1, 1970
2246
0:00 UTC) when ATA SMART data was collected. If data
2247
was never collected, this property will assume the value
2248
0. This property is only valid if
2249
<doc:ref type="property" to="Device:drive-ata-smart-is-available">drive-ata-smart-is-available</doc:ref>
2251
</doc:para></doc:description></doc:doc>
2253
<property name="drive-ata-smart-offline-data-collection-status" type="u" access="read">
2254
<doc:doc><doc:description><doc:para>
2255
Offline data collection status (TODO: specify values).
2256
This property is only valid if
2257
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2258
is greater than zero.
2259
</doc:para></doc:description></doc:doc>
2261
<property name="drive-ata-smart-offline-data-collection-seconds" type="u" access="read">
2262
<doc:doc><doc:description><doc:para>
2263
Number of seconds needed to perform offline data collection status.
2264
This property is only valid if
2265
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2266
is greater than zero.
2267
</doc:para></doc:description></doc:doc>
2269
<property name="drive-ata-smart-self-test-execution-status" type="u" access="read">
2270
<doc:doc><doc:description><doc:para>
2271
Current status of self test (TODO: specify values).
2272
This property is only valid if
2273
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2274
is greater than zero.
2275
</doc:para></doc:description></doc:doc>
2277
<property name="drive-ata-smart-self-test-execution-percent-remaining" type="u" access="read">
2278
<doc:doc><doc:description><doc:para>
2279
The progress of an ongoing self test or 0 if no self test is in progress.
2280
This property is only valid if
2281
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2282
is greater than zero.
2283
</doc:para></doc:description></doc:doc>
2285
<property name="drive-ata-smart-short-and-extended-self-test-available" type="b" access="read">
2286
<doc:doc><doc:description><doc:para>
2287
Whether the short and extended self-tests are available.
2288
This property is only valid if
2289
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2290
is greater than zero.
2291
</doc:para></doc:description></doc:doc>
2293
<property name="drive-ata-smart-conveyance-self-test-available" type="b" access="read">
2294
<doc:doc><doc:description><doc:para>
2295
Whether the conveyance self-test is available.
2296
This property is only valid if
2297
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2298
is greater than zero.
2299
</doc:para></doc:description></doc:doc>
2301
<property name="drive-ata-smart-start-self-test-available" type="b" access="read">
2302
<doc:doc><doc:description><doc:para>
2303
Whether the start self-test is available.
2304
This property is only valid if
2305
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2306
is greater than zero.
2307
</doc:para></doc:description></doc:doc>
2309
<property name="drive-ata-smart-abort-self-test-available" type="b" access="read">
2310
<doc:doc><doc:description><doc:para>
2311
Whether the abort self-test is available.
2312
This property is only valid if
2313
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2314
is greater than zero.
2315
</doc:para></doc:description></doc:doc>
2318
<property name="drive-ata-smart-short-self-test-polling-minutes" type="u" access="read">
2319
<doc:doc><doc:description><doc:para>
2320
Recommended polling time in minutes for short self-test.
2321
This property is only valid if
2322
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2323
is greater than zero.
2324
</doc:para></doc:description></doc:doc>
2326
<property name="drive-ata-smart-extended-self-test-polling-minutes" type="u" access="read">
2327
<doc:doc><doc:description><doc:para>
2328
Recommended polling time in minutes for extended self-test.
2329
This property is only valid if
2330
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2331
is greater than zero.
2332
</doc:para></doc:description></doc:doc>
2334
<property name="drive-ata-smart-conveyance-self-test-polling-minutes" type="u" access="read">
2335
<doc:doc><doc:description><doc:para>
2336
Recommended polling time in minutes for conveyance self-test.
2337
This property is only valid if
2338
<doc:ref type="property" to="Device:drive-ata-smart-time-collected">drive-ata-smart-time-collected</doc:ref>
2339
is greater than zero.
2340
</doc:para></doc:description></doc:doc>
2342
<property name="drive-ata-smart-attributes" type="a(usubbybybybbbutay)" access="read">
2343
<doc:doc><doc:description><doc:para>
2344
An array of ATA SMART attributes. Each element contains the following members (TODO).
2345
This property is only valid if
2346
<doc:ref type="property" to="Device:drive-smart-time-collected">drive-smart-time-collected</doc:ref>
2137
0:00 UTC) when ATA SMART data was collected.
2138
This property is only valid if
2139
<doc:ref type="property" to="Device:DriveAtaSmartTimeCollected">DriveAtaSmartTimeCollected</doc:ref>
2140
is greater than zero.
2141
</doc:para></doc:description></doc:doc>
2143
<property name="DriveAtaSmartStatus" type="s" access="read">
2144
<doc:doc><doc:description><doc:para>
2145
The overall assessment for the disk. Is one of the following strings
2146
<quote>GOOD</quote>,
2147
<quote>BAD_ATTRIBUTES_IN_THE_PAST</quote> (At least one pre-fail attribute is exceeded its threshold in the past),
2148
<quote>BAD_SECTOR</quote> (At least one bad sector),
2149
<quote>BAD_ATTRIBUTE_NOW</quote> (At least one pre-fail attribute is exceeding its threshold now),
2150
<quote>BAD_SECTOR_MANY</quote> (Many bad sectors)),
2151
<quote>BAD_STATUS</quote> (Smart Self Assessment negative)
2152
or empty if some error occured trying to determine the result.
2153
This property is only valid if
2154
<doc:ref type="property" to="Device:DriveAtaSmartTimeCollected">DriveAtaSmartTimeCollected</doc:ref>
2155
is greater than zero.
2156
</doc:para></doc:description></doc:doc>
2158
<property name="DriveAtaSmartBlob" type="ay" access="read">
2159
<doc:doc><doc:description><doc:para>
2160
A blob containing the ATA SMART data. This blob can be used with libatasmart to get
2162
This property is only valid if
2163
<doc:ref type="property" to="Device:DriveAtaSmartTimeCollected">DriveAtaSmartTimeCollected</doc:ref>
2347
2164
is greater than zero.
2348
2165
</doc:para></doc:description></doc:doc>
2351
2168
<!-- **************************************************************************************************** -->
2353
<property name="linux-md-component-level" type="s" access="read">
2170
<property name="LinuxMdComponentLevel" type="s" access="read">
2354
2171
<doc:doc><doc:description><doc:para>
2355
2172
The RAID level of the array the component is part of. Known values include
2382
2199
This property is only valid if
2383
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2200
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2385
2202
</doc:para></doc:description></doc:doc>
2387
<property name="linux-md-component-num-raid-devices" type="i" access="read">
2204
<property name="LinuxMdComponentNumRaidDevices" type="i" access="read">
2388
2205
<doc:doc><doc:description><doc:para>
2389
2206
The number of component devices in the array the component is part of.
2390
2207
This property is only valid if
2391
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2208
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2393
2210
</doc:para></doc:description></doc:doc>
2395
<property name="linux-md-component-uuid" type="s" access="read">
2212
<property name="LinuxMdComponentUuid" type="s" access="read">
2396
2213
<doc:doc><doc:description><doc:para>
2397
2214
The UUID of the array the component is part of.
2398
2215
This property is only valid if
2399
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2216
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2401
2218
</doc:para></doc:description></doc:doc>
2403
<property name="linux-md-component-name" type="s" access="read">
2220
<property name="LinuxMdComponentName" type="s" access="read">
2404
2221
<doc:doc><doc:description><doc:para>
2405
2222
The name of the array the component is part of. Blank if the array
2406
2223
doesn't have a name (e.g. pre-1.0 meta data).
2407
2224
This property is only valid if
2408
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2225
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2410
2227
</doc:para></doc:description></doc:doc>
2412
<property name="linux-md-component-home-host" type="s" access="read">
2229
<property name="LinuxMdComponentHomeHost" type="s" access="read">
2413
2230
<doc:doc><doc:description><doc:para>
2414
2231
The home host of the array the component is part of, e.g. where it was created. Blank if the array
2415
2232
has pre-1.0 meta data.
2416
2233
This property is only valid if
2417
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2234
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2419
2236
</doc:para></doc:description></doc:doc>
2421
<property name="linux-md-component-version" type="s" access="read">
2238
<property name="LinuxMdComponentVersion" type="s" access="read">
2422
2239
<doc:doc><doc:description><doc:para>
2423
2240
The version of superblock of the component.
2424
2241
This property is only valid if
2425
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2242
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2427
2244
</doc:para></doc:description></doc:doc>
2429
<property name="linux-md-component-holder" type="o" access="read">
2246
<property name="LinuxMdComponentHolder" type="o" access="read">
2430
2247
<doc:doc><doc:description><doc:para>
2431
2248
The holder of the component or "/" if the component isn't claimed by any array.
2432
2249
This property is only valid if
2433
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2250
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2435
2252
</doc:para></doc:description></doc:doc>
2437
<property name="linux-md-component-state" type="as" access="read">
2254
<property name="LinuxMdComponentState" type="as" access="read">
2438
2255
<doc:doc><doc:description><doc:para>
2439
2256
The state of the component (contents of <literal>md/dev-XXX/state</literal> file).
2440
2257
This property is only valid if
2441
<doc:ref type="property" to="Device:device-is-linux-md-component">device-is-linux-md-component</doc:ref>
2258
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponent">DeviceIsLinuxMdComponent</doc:ref>
2443
<doc:ref type="property" to="Device:device-is-linux-md-component-holder">device-is-linux-md-component-holder</doc:ref>
2260
<doc:ref type="property" to="Device:DeviceIsLinuxMdComponentHolder">DeviceIsLinuxMdComponentHolder</doc:ref>
2445
2262
</doc:para></doc:description></doc:doc>
2448
<property name="linux-md-state" type="s" access="read">
2265
<property name="LinuxMdState" type="s" access="read">
2449
2266
<doc:doc><doc:description><doc:para>
2450
2267
The state of the array (contents of the <literal>md/array_state</literal> file).
2451
2268
This property is only valid if
2452
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2269
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2454
2271
</doc:para></doc:description></doc:doc>
2456
<property name="linux-md-level" type="s" access="read">
2273
<property name="LinuxMdLevel" type="s" access="read">
2457
2274
<doc:doc><doc:description><doc:para>
2458
2275
The RAID level of the array. For known values see the
2459
<doc:ref type="property" to="Device:linux-md-component-level">linux-md-component-level</doc:ref>
2276
<doc:ref type="property" to="Device:LinuxMdComponentLevel">LinuxMdComponentLevel</doc:ref>
2461
2278
This property is only valid if
2462
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2279
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2464
2281
</doc:para></doc:description></doc:doc>
2466
<property name="linux-md-uuid" type="s" access="read">
2283
<property name="LinuxMdUuid" type="s" access="read">
2467
2284
<doc:doc><doc:description><doc:para>
2468
2285
The UUID of the array.
2469
2286
This property is only valid if
2470
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2287
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2472
2289
</doc:para></doc:description></doc:doc>
2474
<property name="linux-md-home-host" type="s" access="read">
2291
<property name="LinuxMdHomeHost" type="s" access="read">
2475
2292
<doc:doc><doc:description><doc:para>
2476
2293
The home host of the array, e.g. where if was created. Blank if the array
2477
2294
has pre-1.0 meta data.
2478
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2295
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2480
2297
</doc:para></doc:description></doc:doc>
2482
<property name="linux-md-name" type="s" access="read">
2299
<property name="LinuxMdName" type="s" access="read">
2483
2300
<doc:doc><doc:description><doc:para>
2484
2301
The name of the array. Blank if the array
2485
2302
doesn't have a name (e.g. pre-1.0 meta data).
2486
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2303
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2488
2305
</doc:para></doc:description></doc:doc>
2490
<property name="linux-md-num-raid-devices" type="i" access="read">
2307
<property name="LinuxMdNumRaidDevices" type="i" access="read">
2491
2308
<doc:doc><doc:description><doc:para>
2492
2309
Number of component devices in the array.
2493
2310
This property is only valid if
2494
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2311
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2496
2313
</doc:para></doc:description></doc:doc>
2498
<property name="linux-md-version" type="s" access="read">
2315
<property name="LinuxMdVersion" type="s" access="read">
2499
2316
<doc:doc><doc:description><doc:para>
2500
2317
Metadata version used in the components.
2501
2318
This property is only valid if
2502
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2319
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2504
2321
</doc:para></doc:description></doc:doc>
2506
<property name="linux-md-slaves" type="ao" access="read">
2323
<property name="LinuxMdSlaves" type="ao" access="read">
2507
2324
<doc:doc><doc:description><doc:para>
2508
2325
An array of object paths for components currently part of the array.
2509
2326
This property is only valid if
2510
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2327
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2512
2329
</doc:para></doc:description></doc:doc>
2514
<property name="linux-md-is-degraded" type="b" access="read">
2331
<property name="LinuxMdIsDegraded" type="b" access="read">
2515
2332
<doc:doc><doc:description><doc:para>
2516
2333
TRUE only if the array is running in degraded mode.
2517
2334
This property is only valid if
2518
<doc:ref type="property" to="Device:device-is-linux-md">device-is-linux-md</doc:ref>
2335
<doc:ref type="property" to="Device:DeviceIsLinuxMd">DeviceIsLinuxMd</doc:ref>
2520
2337
</doc:para></doc:description></doc:doc>
2522
<property name="linux-md-sync-action" type="s" access="read">
2339
<property name="LinuxMdSyncAction" type="s" access="read">
2523
2340
<doc:doc><doc:description><doc:para>
2524
2341
The operation currently pending on the array. Known values