/usr/share/gtk-doc/html/udisks/udisks.1.html is in udisks-doc 1.0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>udisks Reference Manual: udisks</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="udisks Reference Manual">
<link rel="up" href="tools-fileformats.html" title="Manual Pages">
<link rel="prev" href="udisks-daemon.8.html" title="udisks-daemon">
<link rel="next" href="udisks-tcp-bridge.1.html" title="udisks-tcp-bridge">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="tools-fileformats.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="udisks-daemon.8.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="udisks-tcp-bridge.1.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="udisks.1"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">udisks</span></h2>
<p>udisks — udisks command line tool</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">udisks</code> [<code class="option">OPTIONS</code>]</p></div>
</div>
<div class="refsect1">
<a name="id-1.3.5.5"></a><h2>DESCRIPTION</h2>
<p>
<span class="emphasis"><em><span class="refentrytitle">udisks</span></em></span> is a
simple command line client for the
<span class="citerefentry"><span class="refentrytitle">udisks</span>(7)</span>
system bus service.
</p>
</div>
<div class="refsect1">
<a name="id-1.3.5.6"></a><h2>OPTIONS</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="option">--dump</code></span></p></td>
<td><p>
Dump all information about all devices. Please include this when filing bugs.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--enumerate</code></span></p></td>
<td><p>
Lists all object paths of devices know to the daemon.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--enumerate-device-files</code></span></p></td>
<td><p>
Lists all device files of devices know to the daemon.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--monitor</code></span></p></td>
<td><p>
Connect to the daemon and print a line every time an event
happens.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--monitor-detail</code></span></p></td>
<td><p>
Like <code class="option">--monitor</code> but prints the full
details of the device whenever an event happens.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--show-info</code>
<em class="replaceable"><code>device_file</code></em>
</span></p></td>
<td><p>
Shows information about <em class="replaceable"><code>device_file</code></em>.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--inhibit-polling</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">-- program arg ...</code>]
</span></p></td>
<td><p>
Inhibits polling on <em class="replaceable"><code>device_file</code></em>. If no program is given,
polling is inhibited until Ctrl+C is pressed. Otherwise the program is spawned and the polling
is only inhibited until the program terminates.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--poll-for-media</code>
<em class="replaceable"><code>device_file</code></em>
</span></p></td>
<td><p>
Polls <em class="replaceable"><code>device_file</code></em> to perform media detection.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--inhibit-all-polling</code>
[<code class="option">-- program arg ...</code>]
</span></p></td>
<td><p>
Inhibits polling on all devices. If no program is given,
polling is inhibited until Ctrl+C is pressed. Otherwise the program is spawned and the polling
is only inhibited until the program terminates.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--mount</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">--mount-fstype</code> <em class="replaceable"><code>fstype</code></em> ]
[<code class="option">--mount-options</code> <em class="replaceable"><code>options</code></em> ]
</span></p></td>
<td><p>
Mounts the device represented by <em class="replaceable"><code>device_file</code></em> using
the file system <em class="replaceable"><code>fstype</code></em> and a comma-separated list
of <em class="replaceable"><code>options</code></em>.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--unmount</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">--unmount-options</code> <em class="replaceable"><code>options</code></em> ]
</span></p></td>
<td><p>
Unmounts the device represented by <em class="replaceable"><code>device_file</code></em> using
a comma-separated list of <em class="replaceable"><code>options</code></em>.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--detach</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">--detach-options</code> <em class="replaceable"><code>options</code></em> ]
</span></p></td>
<td><p>
Detaches (e.g. powering down the physical port the device
is connected to) the device represented
by <em class="replaceable"><code>device_file</code></em> using a
comma-separated list
of <em class="replaceable"><code>options</code></em>.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--eject</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">--eject-options</code> <em class="replaceable"><code>options</code></em> ]
</span></p></td>
<td><p>
Ejects media from the device represented
by <em class="replaceable"><code>device_file</code></em> using a
comma-separated list
of <em class="replaceable"><code>options</code></em>.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--ata-smart-refresh</code>
<em class="replaceable"><code>device_file</code></em>
[<code class="option">--ata-smart-wakeup</code>]
</span></p></td>
<td><p>
Refreshes ATA SMART data for <em class="replaceable"><code>device_file</code></em>. If the disk is
sleeping it will not be woken up unless <code class="option">--ata-smart-wakeup</code> is passed.
will be used.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--ata-smart-refresh</code>
<em class="replaceable"><code>device_file</code></em>
<code class="option">--ata-smart-simulate</code> <em class="replaceable"><code>blob</code></em>
</span></p></td>
<td><p>
Read ATA SMART data from <em class="replaceable"><code>blob</code></em> for <em class="replaceable"><code>device_file</code></em>.
This can only be done by the super user and is typically used for testing that clients
relying on the ATA SMART data provided by udisks behave correctly.
The libatasmart git repository at
<a class="ulink" href="http://git.0pointer.de/?p=libatasmart.git;a=summary" target="_top">http://git.0pointer.de/?p=libatasmart.git;a=summary</a>
contains a collection of blobs from failing disks.
</p></td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--inhibit</code>
[<code class="option">-- program arg ...</code>]
</span></p></td>
<td>
<p>
Inhibits clients from invoking methods on the daemon that
require authorization (all methods will return the
<code class="literal">org.freedesktop.UDisks.Error.Inhibited</code> error) if
the caller is not the super user. This is typically used
by OS installers and other programs that expects full
control of the system, specifically to avoid automounting
devices. Only the super user can do this.
</p>
<p>
If no program is given, the daemon is inhibited until
Ctrl+C is pressed. Otherwise the program is spawned and
the daemon is only inhibited until the program terminates.
</p>
</td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--set-spindown</code>
<em class="replaceable"><code>device_file</code></em>
<code class="option">--spindown-timeout</code>
<em class="replaceable"><code>seconds</code></em>
[<code class="option">-- program arg ...</code>]
</span></p></td>
<td>
<p>
Configures disk spindown timeout on <em class="replaceable"><code>device_file</code></em> to
<em class="replaceable"><code>seconds</code></em>.
See <a class="xref" href="udisks.1.html#udisks-spindown" title="SPINNING DOWN DISKS">the section called “SPINNING DOWN DISKS”</a> for important information before using this option.
</p>
<p>
If no program is given, the spindown time will be used until Ctrl+C is pressed. Otherwise the program is
spawned and the the spindown timeout will only be used until the program terminates.
</p>
</td>
</tr>
<tr>
<td><p><span class="term">
<code class="option">--set-spindown-all</code>
<code class="option">--spindown-timeout</code>
<em class="replaceable"><code>seconds</code></em>
[<code class="option">-- program arg ...</code>]
</span></p></td>
<td>
<p>
Configures disk spindown timeout on all disks that can be spun down to <em class="replaceable"><code>seconds</code></em>.
See <a class="xref" href="udisks.1.html#udisks-spindown" title="SPINNING DOWN DISKS">the section called “SPINNING DOWN DISKS”</a> for important information before using this option.
</p>
<p>
If no program is given, the spindown time will be used until Ctrl+C is pressed. Otherwise the program is
spawned and the the spindown timeout will only be used until the program terminates.
</p>
</td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--help</code></span></p></td>
<td><p>
Show help options.
</p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="udisks-spindown"></a><h2>SPINNING DOWN DISKS</h2>
<p>
Caution should be exercised when configuring disk spin down timeouts.
</p>
<p>
Note that every time a disk is spun down,
the <span class="quote">“<span class="quote">start-stop-count</span>”</span> ATA SMART attribute will
increase by 1 and most disks are only good for a limited number
(typically 50,000 but it varies by manufacturer and model). In
addition, the drive may take as long as 30 seconds to respond to
subsequent disk access – most drives are typically faster, see
the <span class="quote">“<span class="quote">spin-up-time</span>”</span> ATA SMART attribute.
</p>
<p>
On the other hand, cautious use (e.g. using conservative
timeouts) of the ability to spin down disks, can be a good way
to trade power consumption (typically 8 vs 1 Watts for 3.5"
drives) and heat emission for a slightly higher latency.
</p>
</div>
<div class="refsect1">
<a name="id-1.3.5.8"></a><h2>AUTHOR</h2>
<p>
Written by David Zeuthen <code class="email"><<a class="email" href="mailto:david@fubar.dk">david@fubar.dk</a>></code> with
a lot of help from many others.
</p>
</div>
<div class="refsect1">
<a name="id-1.3.5.9"></a><h2>BUGS</h2>
<p>
Please send bug reports to either the distribution bug tracker
or the upstream bug tracker at
<a class="ulink" href="http://bugs.freedesktop.org/enter_bug.cgi?product=udisks" target="_top">http://bugs.freedesktop.org/enter_bug.cgi?product=udisks</a>.
</p>
</div>
<div class="refsect1">
<a name="id-1.3.5.10"></a><h2>SEE ALSO</h2>
<p>
<span class="citerefentry"><span class="refentrytitle">udisks-daemon</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">udisks</span>(7)</span>,
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|