sd_id128_get_machine.xml | sd_id128_get_machine.xml | |||
---|---|---|---|---|
skipping to change at line 86 | skipping to change at line 86 | |||
to make retrieving the machine ID a cheap | to make retrieving the machine ID a cheap | |||
operation.</para> | operation.</para> | |||
<para><function>sd_id128_get_boot()</function> returns | <para><function>sd_id128_get_boot()</function> returns | |||
the boot ID of the executing kernel. This reads and | the boot ID of the executing kernel. This reads and | |||
parses the | parses the | |||
<filename>/proc/sys/kernel/random/boot_id</filename> | <filename>/proc/sys/kernel/random/boot_id</filename> | |||
file exposed by the kernel. It is randomly generated | file exposed by the kernel. It is randomly generated | |||
early at boot and is unique for every running kernel | early at boot and is unique for every running kernel | |||
instance. See | instance. See | |||
<citerefentry><refentrytitle>random</refentrytitle><manvoln um>4</manvolnum></citerefentry> | <citerefentry project='man-pages'><refentrytitle>random</re fentrytitle><manvolnum>4</manvolnum></citerefentry> | |||
for more information. This function also internally | for more information. This function also internally | |||
caches the returned ID to make this call a cheap | caches the returned ID to make this call a cheap | |||
operation.</para> | operation.</para> | |||
<para>Note that | <para>Note that | |||
<function>sd_id128_get_boot()</function> always returns | <function>sd_id128_get_boot()</function> always returns | |||
a UUID v4 compatible | a UUID v4 compatible | |||
ID. <function>sd_id128_get_machine()</function> will | ID. <function>sd_id128_get_machine()</function> will | |||
also return a UUID v4-compatible ID on new | also return a UUID v4-compatible ID on new | |||
installations but might not on older. It is possible | installations but might not on older. It is possible | |||
skipping to change at line 121 | skipping to change at line 121 | |||
negative errno-style error code.</para> | negative errno-style error code.</para> | |||
</refsect1> | </refsect1> | |||
<refsect1> | <refsect1> | |||
<title>Notes</title> | <title>Notes</title> | |||
<para>The <function>sd_id128_get_machine()</function> | <para>The <function>sd_id128_get_machine()</function> | |||
and <function>sd_id128_get_boot()</function> | and <function>sd_id128_get_boot()</function> | |||
interfaces are available as a shared library, which can | interfaces are available as a shared library, which can | |||
be compiled and linked to with the | be compiled and linked to with the | |||
<literal>libsystemd</literal> <citerefentry><refentrytitle> pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> | <literal>libsystemd</literal> <citerefentry project='die-ne t'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citer efentry> | |||
file.</para> | file.</para> | |||
</refsect1> | </refsect1> | |||
<refsect1> | <refsect1> | |||
<title>See Also</title> | <title>See Also</title> | |||
<para> | <para> | |||
<citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>, | <citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>sd-id128</refentrytitl e><manvolnum>3</manvolnum></citerefentry>, | <citerefentry><refentrytitle>sd-id128</refentrytitl e><manvolnum>3</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>machine-id</refentryti tle><manvolnum>5</manvolnum></citerefentry>, | <citerefentry><refentrytitle>machine-id</refentryti tle><manvolnum>5</manvolnum></citerefentry>, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |