Revision f9323011 man/ganeti-os-interface.sgml
b/man/ganeti-os-interface.sgml | ||
---|---|---|
259 | 259 |
DISK_... variables). |
260 | 260 |
</para> |
261 | 261 |
|
262 |
<para> |
|
263 |
To provide the user with an estimate on how long the export will take, |
|
264 |
a predicted size can be written to the file descriptor passed in the |
|
265 |
variable <envar>EXP_SIZE_FD</envar>. The value is in bytes and must be |
|
266 |
terminated by a newline character (\n). Older versions of Ganeti don't |
|
267 |
support this feature, hence the variable should be checked before use. |
|
268 |
Example: <screen> |
|
269 |
if test -n "$EXP_SIZE_FD"; then |
|
270 |
blockdev --getsize64 $blockdev >&$EXP_SIZE_FD |
|
271 |
fi |
|
272 |
</screen> |
|
273 |
</para> |
|
274 |
|
|
262 | 275 |
</refsect2> |
263 | 276 |
|
264 | 277 |
<refsect2> |
Also available in: Unified diff