1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>UDisks Reference Manual: org.freedesktop.UDisks2.Drive.Ata</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="UDisks Reference Manual">
8
<link rel="up" href="ch02.html" title="D-Bus Interfaces">
9
<link rel="prev" href="gdbus-org.freedesktop.UDisks2.Drive.html" title="org.freedesktop.UDisks2.Drive">
10
<link rel="next" href="gdbus-org.freedesktop.UDisks2.MDRaid.html" title="org.freedesktop.UDisks2.MDRaid">
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#gdbus-org.freedesktop.UDisks2.Drive.Ata.description" class="shortcut">Description</a></span><span id="nav_properties"> <span class="dim">|</span>
19
<a href="#gdbus-org.freedesktop.UDisks2.Drive.Ata.properties" class="shortcut">Properties</a></span>
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
<td><a accesskey="p" href="gdbus-org.freedesktop.UDisks2.Drive.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
<td><a accesskey="n" href="gdbus-org.freedesktop.UDisks2.MDRaid.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
<div class="refentry">
27
<a name="gdbus-org.freedesktop.UDisks2.Drive.Ata"></a><div class="titlepage"></div>
28
<div class="refnamediv"><table width="100%"><tr>
30
<h2><span class="refentrytitle"><a name="gdbus-interface-org-freedesktop-UDisks2-Drive-Ata.top_of_page"></a>org.freedesktop.UDisks2.Drive.Ata</span></h2>
31
<p>org.freedesktop.UDisks2.Drive.Ata — Disk drives using the ATA command-set</p>
33
<td class="gallery_image" valign="top" align="right"></td>
35
<div class="refsynopsisdiv">
37
<pre class="synopsis">
38
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartUpdate" title="The SmartUpdate() method">SmartUpdate</a> (IN a{sv} options);
39
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartGetAttributes" title="The SmartGetAttributes() method">SmartGetAttributes</a> (IN a{sv} options,
40
OUT a(ysqiiixia{sv}) attributes);
41
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestStart" title="The SmartSelftestStart() method">SmartSelftestStart</a> (IN s type,
43
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestAbort" title="The SmartSelftestAbort() method">SmartSelftestAbort</a> (IN a{sv} options);
44
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSetEnabled" title="The SmartSetEnabled() method">SmartSetEnabled</a> (IN b value,
46
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmGetState" title="The PmGetState() method">PmGetState</a> (IN a{sv} options,
48
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmStandby" title="The PmStandby() method">PmStandby</a> (IN a{sv} options);
49
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmWakeup" title="The PmWakeup() method">PmWakeup</a> (IN a{sv} options);
50
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SecurityEraseUnit" title="The SecurityEraseUnit() method">SecurityEraseUnit</a> (IN a{sv} options);
53
<div class="refsect1">
54
<a name="id-1.3.3.4.4"></a><h2>Properties</h2>
55
<pre class="synopsis">
56
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSupported" title='The "SmartSupported" property'>SmartSupported</a> readable b
57
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartEnabled" title='The "SmartEnabled" property'>SmartEnabled</a> readable b
58
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartUpdated" title='The "SmartUpdated" property'>SmartUpdated</a> readable t
59
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartFailing" title='The "SmartFailing" property'>SmartFailing</a> readable b
60
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartPowerOnSeconds" title='The "SmartPowerOnSeconds" property'>SmartPowerOnSeconds</a> readable t
61
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartTemperature" title='The "SmartTemperature" property'>SmartTemperature</a> readable d
62
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumAttributesFailing" title='The "SmartNumAttributesFailing" property'>SmartNumAttributesFailing</a> readable i
63
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumAttributesFailedInThePast" title='The "SmartNumAttributesFailedInThePast" property'>SmartNumAttributesFailedInThePast</a> readable i
64
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumBadSectors" title='The "SmartNumBadSectors" property'>SmartNumBadSectors</a> readable x
65
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestStatus" title='The "SmartSelftestStatus" property'>SmartSelftestStatus</a> readable s
66
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestPercentRemaining" title='The "SmartSelftestPercentRemaining" property'>SmartSelftestPercentRemaining</a> readable i
67
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.PmSupported" title='The "PmSupported" property'>PmSupported</a> readable b
68
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.PmEnabled" title='The "PmEnabled" property'>PmEnabled</a> readable b
69
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.ApmSupported" title='The "ApmSupported" property'>ApmSupported</a> readable b
70
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.ApmEnabled" title='The "ApmEnabled" property'>ApmEnabled</a> readable b
71
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamSupported" title='The "AamSupported" property'>AamSupported</a> readable b
72
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamEnabled" title='The "AamEnabled" property'>AamEnabled</a> readable b
73
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamVendorRecommendedValue" title='The "AamVendorRecommendedValue" property'>AamVendorRecommendedValue</a> readable i
74
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.WriteCacheSupported" title='The "WriteCacheSupported" property'>WriteCacheSupported</a> readable b
75
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.WriteCacheEnabled" title='The "WriteCacheEnabled" property'>WriteCacheEnabled</a> readable b
76
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEraseUnitMinutes" title='The "SecurityEraseUnitMinutes" property'>SecurityEraseUnitMinutes</a> readable i
77
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEnhancedEraseUnitMinutes" title='The "SecurityEnhancedEraseUnitMinutes" property'>SecurityEnhancedEraseUnitMinutes</a> readable i
78
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityFrozen" title='The "SecurityFrozen" property'>SecurityFrozen</a> readable b
81
<div class="refsect1">
82
<a name="gdbus-interface-org-freedesktop-UDisks2-Drive-Ata"></a><h2>Description</h2>
83
<p> Objects implementing this interface also implement the
84
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.html#gdbus-interface-org-freedesktop-UDisks2-Drive.top_of_page">org.freedesktop.UDisks2.Drive</a> interface.
87
<div class="refsect1">
88
<a name="gdbus-methods-org.freedesktop.UDisks2.Drive.Ata"></a><h2>Method Details</h2>
89
<div class="refsect2">
90
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartUpdate"></a><h3>The SmartUpdate() method</h3>
91
<pre class="programlisting">
92
SmartUpdate (IN a{sv} options);
94
<p> Reads SMART data from the drive and update relevant properties.
96
<p> If the option <em class="parameter"><code>nowakeup</code></em> is given and the disk is in a sleeping
98
<code class="literal">org.freedesktop.UDisks2.Error.WouldWakeup</code> is
101
<p> The option <em class="parameter"><code>atasmart_blob</code></em> can be used to inject libatasmart
102
compatible blobs for testing how clients react to different
103
kinds of SMART data. This option may be removed in the future
104
with it being considered an ABI break.
106
<div class="variablelist"><table border="0" class="variablelist">
108
<col align="left" valign="top">
112
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
113
<td><p>Options - known options (in addition to <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>) includes <em class="parameter"><code>nowakeup</code></em> (of type 'b').</p></td>
118
<div class="refsect2">
119
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartGetAttributes"></a><h3>The SmartGetAttributes() method</h3>
120
<pre class="programlisting">
121
SmartGetAttributes (IN a{sv} options,
122
OUT a(ysqiiixia{sv}) attributes);
124
<p> Get the SMART attributes.
125
Each attribute is a struct with the following members:
127
<div class="variablelist"><table border="0" class="variablelist">
129
<col align="left" valign="top">
134
<td><p><span class="term">id (type 'y')</span></p></td>
135
<td><p>Attribute Identifier</p></td>
138
<td><p><span class="term">name (type 's')</span></p></td>
139
<td><p>The identifier as a string.</p></td>
142
<td><p><span class="term">flags (type 'q')</span></p></td>
143
<td><p>16-bit attribute flags (bit 0 is prefail/oldage, bit 1 is online/offline).</p></td>
146
<td><p><span class="term">value (type 'i')</span></p></td>
147
<td><p>The current value or -1 if unknown.</p></td>
150
<td><p><span class="term">worst (type 'i')</span></p></td>
151
<td><p>The worst value of -1 if unknown.</p></td>
154
<td><p><span class="term">threshold (type 'i')</span></p></td>
155
<td><p>The threshold or -1 if unknown.</p></td>
158
<td><p><span class="term">pretty (type 'x')</span></p></td>
159
<td><p>An interpretation of the value - must be ignored if <em class="parameter"><code>pretty_unit</code></em> is 0.</p></td>
162
<td><p><span class="term">pretty_unit (type 'i')</span></p></td>
163
<td><p>The unit of the <em class="parameter"><code>pretty</code></em> value - the following units are known: 0 (unknown), 1 (dimensionless), 2 (milliseconds), 3 (sectors), 4 (millikelvin).</p></td>
166
<td><p><span class="term">expansion (type 'a{sv}')</span></p></td>
167
<td><p>Currently unused. Intended for future expansion.</p></td>
172
The <em class="parameter"><code>name</code></em> parameter should be used as the authoritative identifier for the attribute since it is derived from the numerical <em class="parameter"><code>id</code></em> and the disk's <code class="literal">IDENTIFY</code> data and thus handles ID collisions between drives of different make and model.
174
<div class="variablelist"><table border="0" class="variablelist">
176
<col align="left" valign="top">
181
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
182
<td><p>Options - known options (in addition to <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>) includes <em class="parameter"><code>nowakeup</code></em> (of type 'b').</p></td>
185
<td><p><span class="term"><code class="literal">OUT a(ysqiiixia{sv}) <em class="parameter"><code>attributes</code></em></code>:</span></p></td>
186
<td><p>The SMART attributes.</p></td>
192
<div class="refsect2">
193
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestStart"></a><h3>The SmartSelftestStart() method</h3>
194
<pre class="programlisting">
195
SmartSelftestStart (IN s type,
198
<p> Starts a SMART selftest. The <em class="parameter"><code>type</code></em> parameter is for the type
199
of test to start - valid values are <code class="literal">short</code>,
200
<code class="literal">extended</code> and <code class="literal">conveyance</code>.
202
<p> Note that the method returns immediately after the test has
203
been started successfully.
205
<div class="variablelist"><table border="0" class="variablelist">
207
<col align="left" valign="top">
212
<td><p><span class="term"><code class="literal">IN s <em class="parameter"><code>type</code></em></code>:</span></p></td>
213
<td><p>The type test to run.</p></td>
216
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
217
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
223
<div class="refsect2">
224
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestAbort"></a><h3>The SmartSelftestAbort() method</h3>
225
<pre class="programlisting">
226
SmartSelftestAbort (IN a{sv} options);
228
<p> Aborts a running SMART selftest.
230
<div class="variablelist"><table border="0" class="variablelist">
232
<col align="left" valign="top">
236
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
237
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
242
<div class="refsect2">
243
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SmartSetEnabled"></a><h3>The SmartSetEnabled() method</h3>
244
<pre class="programlisting">
245
SmartSetEnabled (IN b value,
248
<p> Sets whether SMART is enabled for the drive. This setting is
249
stored in the non-volatile memory in the drive itself and does
250
not need to be refreshed every time the drive is powered on or
253
<p> Since this may require authentication and thus may fail, it is
254
implemented this way instead of the
255
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartEnabled" title='The "SmartEnabled" property'>"SmartEnabled"</a> property being
258
<div class="variablelist"><table border="0" class="variablelist">
260
<col align="left" valign="top">
265
<td><p><span class="term"><code class="literal">IN b <em class="parameter"><code>value</code></em></code>:</span></p></td>
266
<td><p><code class="constant">TRUE</code> to enable SMART, <code class="constant">FALSE</code> to disable SMART.</p></td>
269
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
270
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
274
<p class="since">Since 2.1</p>
277
<div class="refsect2">
278
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmGetState"></a><h3>The PmGetState() method</h3>
279
<pre class="programlisting">
280
PmGetState (IN a{sv} options,
283
<p> Get the current power mode status. This is implemented as a
284
method call as it involves sending a command from the host to
285
the drive and no change notification is available.
287
<p> The format of <em class="parameter"><code>state</code></em> is the result obtained from sending the
288
ATA command <span class="quote">“<span class="quote">CHECK POWER MODE</span>”</span> to the drive.
291
<div class="variablelist"><table border="0" class="variablelist">
293
<col align="left" valign="top">
298
<td><p><span class="term">0x00</span></p></td>
299
<td><p>Standby</p></td>
302
<td><p><span class="term">0x80</span></p></td>
306
<td><p><span class="term">0xff</span></p></td>
307
<td><p>Active/Idle</p></td>
312
Typically user interfaces will report "Drive is spun down" if <em class="parameter"><code>state</code></em> is
313
0x00 and "Drive is spun up" otherwise.
315
<div class="variablelist"><table border="0" class="variablelist">
317
<col align="left" valign="top">
322
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
323
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
326
<td><p><span class="term"><code class="literal">OUT y <em class="parameter"><code>state</code></em></code>:</span></p></td>
327
<td><p>The current power state.</p></td>
333
<div class="refsect2">
334
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmStandby"></a><h3>The PmStandby() method</h3>
335
<pre class="programlisting">
336
PmStandby (IN a{sv} options);
338
<p> Force the drive to immediately enter the low power consumption
339
<span class="emphasis"><em>standby</em></span> mode, usually causing it to spin
340
down. This is done by sending the ATA command
341
<span class="quote">“<span class="quote">STANDBY IMMEDIATE</span>”</span> to the drive.
343
<div class="variablelist"><table border="0" class="variablelist">
345
<col align="left" valign="top">
349
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
350
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
355
<div class="refsect2">
356
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.PmWakeup"></a><h3>The PmWakeup() method</h3>
357
<pre class="programlisting">
358
PmWakeup (IN a{sv} options);
360
<p> Force the drive to immediately wake up (exiting the low power
361
consumption <span class="emphasis"><em>standby</em></span> mode), usually
362
causing it to spin up. This is done by reading data from the
365
<div class="variablelist"><table border="0" class="variablelist">
367
<col align="left" valign="top">
371
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
372
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
377
<div class="refsect2">
378
<a name="gdbus-method-org-freedesktop-UDisks2-Drive-Ata.SecurityEraseUnit"></a><h3>The SecurityEraseUnit() method</h3>
379
<pre class="programlisting">
380
SecurityEraseUnit (IN a{sv} options);
382
<p> Does all the necessary checks and preparations and then sends
383
the <span class="quote">“<span class="quote">SECURITY ERASE UNIT</span>”</span> command to the
384
drive. If the option <em class="parameter"><code>enhanced</code></em> is set to <code class="constant">TRUE</code> an
385
<span class="emphasis"><em>enhanced secure erase</em></span> is requested.
387
<p> All data on the drive will be irrevocably erased.
389
<p> This operation takes either
390
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEraseUnitMinutes" title='The "SecurityEraseUnitMinutes" property'>"SecurityEraseUnitMinutes"</a> or
391
<a class="link" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html#gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEnhancedEraseUnitMinutes" title='The "SecurityEnhancedEraseUnitMinutes" property'>"SecurityEnhancedEraseUnitMinutes"</a>
392
minutes to complete depending on whether the <em class="parameter"><code>enhanced</code></em> option
393
is <code class="constant">TRUE</code>.
395
<div class="variablelist"><table border="0" class="variablelist">
397
<col align="left" valign="top">
401
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
402
<td><p>Options - known options (in addition to <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>) includes <em class="parameter"><code>enhanced</code></em> (of type 'b').</p></td>
407
<div class="refsect1">
408
<a name="gdbus-properties-org.freedesktop.UDisks2.Drive.Ata"></a><h2>Property Details</h2>
409
<div class="refsect2">
410
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSupported"></a><h3>The "SmartSupported" property</h3>
411
<pre class="programlisting">
412
SmartSupported readable b
414
<p>Whether the drive supports SMART.</p>
417
<div class="refsect2">
418
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartEnabled"></a><h3>The "SmartEnabled" property</h3>
419
<pre class="programlisting">
420
SmartEnabled readable b
422
<p>Whether SMART is enabled.</p>
425
<div class="refsect2">
426
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartUpdated"></a><h3>The "SmartUpdated" property</h3>
427
<pre class="programlisting">
428
SmartUpdated readable t
430
<p> The point in time (seconds since the
431
<a class="ulink" href="http://en.wikipedia.org/wiki/Unix_epoch" target="_top">Unix Epoch</a>)
432
that the SMART status was updated or 0 if never updated.
434
<p> The value of the other properties related to SMART are not
435
meaningful if this proeprty is 0.
439
<div class="refsect2">
440
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartFailing"></a><h3>The "SmartFailing" property</h3>
441
<pre class="programlisting">
442
SmartFailing readable b
444
<p> Set to <code class="constant">TRUE</code> if disk is about to fail.
446
<p> This value is read from the disk itself and does not include
451
<div class="refsect2">
452
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartPowerOnSeconds"></a><h3>The "SmartPowerOnSeconds" property</h3>
453
<pre class="programlisting">
454
SmartPowerOnSeconds readable t
456
<p> The amount of time the disk has been powered on (according to SMART data) or 0 if unknown.
460
<div class="refsect2">
461
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartTemperature"></a><h3>The "SmartTemperature" property</h3>
462
<pre class="programlisting">
463
SmartTemperature readable d
465
<p> The temperature (in Kelvin) of the disk according to SMART data or 0 if unknown.
469
<div class="refsect2">
470
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumAttributesFailing"></a><h3>The "SmartNumAttributesFailing" property</h3>
471
<pre class="programlisting">
472
SmartNumAttributesFailing readable i
474
<p> The number of attributes failing right now or -1 if unknown.
478
<div class="refsect2">
479
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumAttributesFailedInThePast"></a><h3>The "SmartNumAttributesFailedInThePast" property</h3>
480
<pre class="programlisting">
481
SmartNumAttributesFailedInThePast readable i
483
<p> The number of attributes that have failed in the past or -1 if unknown.
487
<div class="refsect2">
488
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartNumBadSectors"></a><h3>The "SmartNumBadSectors" property</h3>
489
<pre class="programlisting">
490
SmartNumBadSectors readable x
492
<p> The number of bad sectors (ie. pending and reallocated) or -1 if unknown.
496
<div class="refsect2">
497
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestStatus"></a><h3>The "SmartSelftestStatus" property</h3>
498
<pre class="programlisting">
499
SmartSelftestStatus readable s
501
<p> The status of the last self-test. Known values include
503
<div class="variablelist"><table border="0" class="variablelist">
505
<col align="left" valign="top">
510
<td><p><span class="term">success</span></p></td>
511
<td><p>Last self-test was a success (or never ran).</p></td>
514
<td><p><span class="term">aborted</span></p></td>
515
<td><p>Last self-test was aborted.</p></td>
518
<td><p><span class="term">interrupted</span></p></td>
519
<td><p>Last self-test was interrupted.</p></td>
522
<td><p><span class="term">fatal</span></p></td>
523
<td><p>Last self-test did not complete.</p></td>
526
<td><p><span class="term">error_unknown</span></p></td>
527
<td><p>Last self-test failed (Unknown).</p></td>
530
<td><p><span class="term">error_electrical</span></p></td>
531
<td><p>Last self-test failed (Electrical).</p></td>
534
<td><p><span class="term">error_servo</span></p></td>
535
<td><p>Last self-test failed (Servo).</p></td>
538
<td><p><span class="term">error_read</span></p></td>
539
<td><p>Last self-test failed (Read).</p></td>
542
<td><p><span class="term">error_handling</span></p></td>
543
<td><p>Last self-test failed (Damage).</p></td>
546
<td><p><span class="term">inprogress</span></p></td>
547
<td><p>Self-test is currently in progress.</p></td>
555
<div class="refsect2">
556
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SmartSelftestPercentRemaining"></a><h3>The "SmartSelftestPercentRemaining" property</h3>
557
<pre class="programlisting">
558
SmartSelftestPercentRemaining readable i
560
<p> The percent remaining or -1 if unknown.
564
<div class="refsect2">
565
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.PmSupported"></a><h3>The "PmSupported" property</h3>
566
<pre class="programlisting">
567
PmSupported readable b
569
<p>Whether the drive supports power management.</p>
572
<div class="refsect2">
573
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.PmEnabled"></a><h3>The "PmEnabled" property</h3>
574
<pre class="programlisting">
577
<p>Whether power management is enabled.</p>
580
<div class="refsect2">
581
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.ApmSupported"></a><h3>The "ApmSupported" property</h3>
582
<pre class="programlisting">
583
ApmSupported readable b
585
<p>Whether the drive supports Advanced Power Management (APM).</p>
588
<div class="refsect2">
589
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.ApmEnabled"></a><h3>The "ApmEnabled" property</h3>
590
<pre class="programlisting">
591
ApmEnabled readable b
593
<p>Whether Advanced Power Management (APM) is enabled.</p>
596
<div class="refsect2">
597
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamSupported"></a><h3>The "AamSupported" property</h3>
598
<pre class="programlisting">
599
AamSupported readable b
601
<p>Whether the drive supports Automatic Acoustic Management (AAM).</p>
604
<div class="refsect2">
605
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamEnabled"></a><h3>The "AamEnabled" property</h3>
606
<pre class="programlisting">
607
AamEnabled readable b
609
<p>Whether Automatic Acoustic Management (AAM) is enabled.</p>
612
<div class="refsect2">
613
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.AamVendorRecommendedValue"></a><h3>The "AamVendorRecommendedValue" property</h3>
614
<pre class="programlisting">
615
AamVendorRecommendedValue readable i
617
<p>The vendor-recommended AAM value (or 0 if AAM is not supported).</p>
620
<div class="refsect2">
621
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.WriteCacheSupported"></a><h3>The "WriteCacheSupported" property</h3>
622
<pre class="programlisting">
623
WriteCacheSupported readable b
625
<p> Whether the drive supports configuring the write cache.
627
<p class="since">Since 2.1</p>
630
<div class="refsect2">
631
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.WriteCacheEnabled"></a><h3>The "WriteCacheEnabled" property</h3>
632
<pre class="programlisting">
633
WriteCacheEnabled readable b
635
<p> Whether the write-cache is enabled (or <code class="constant">FALSE</code> if not supported).
637
<p class="since">Since 2.1</p>
640
<div class="refsect2">
641
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEraseUnitMinutes"></a><h3>The "SecurityEraseUnitMinutes" property</h3>
642
<pre class="programlisting">
643
SecurityEraseUnitMinutes readable i
645
<p> The estimated amount of minutes it takes to complete the
646
<span class="quote">“<span class="quote">SECURITY ERASE UNIT</span>”</span> command or 0 if this
647
command is not available.
649
<p> If set to 510 it means that it takes at least 508 minutes to
650
complete the operation.
654
<div class="refsect2">
655
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityEnhancedEraseUnitMinutes"></a><h3>The "SecurityEnhancedEraseUnitMinutes" property</h3>
656
<pre class="programlisting">
657
SecurityEnhancedEraseUnitMinutes readable i
659
<p> The estimated amount of minutes it takes to complete the
660
<span class="quote">“<span class="quote">SECURITY ERASE UNIT</span>”</span> command with enhanced mode
661
specified or 0 if enhanced erase is not available.
663
<p> If set to 510 it means that it takes at least 508 minutes to
664
complete the operation.
668
<div class="refsect2">
669
<a name="gdbus-property-org-freedesktop-UDisks2-Drive-Ata.SecurityFrozen"></a><h3>The "SecurityFrozen" property</h3>
670
<pre class="programlisting">
671
SecurityFrozen readable b
673
<p> If set to <code class="constant">TRUE</code> the unit is frozen.
680
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'