chiark / gitweb /
sd-booted: update sd_booted() check a bit
[elogind.git] / man / sd_booted.xml
index 34f2cbfbc8637352cde4e6c24c38550a560c5727..ce5a34dc86849c198f8b87fcf577d68ad88d6640 100644 (file)
                 implementation.</para>
 
                 <para>Internally, this function checks whether the
-                <filename>/sys/fs/cgroup/systemd</filename> virtual file
-                system is mounted, by comparing the st_dev value of
-                the <function>stat()</function> data of
-                <filename>/sys/fs/cgroup</filename> and
-                <filename>/sys/fs/cgroup/systemd</filename>.</para>
+                directory <filename>/run/systemd/system/</filename>
+                exists. A simple check like this can also be
+                implemented trivially in shell or any other
+                language.</para>
 
                 <para>For details about the algorithm check the
                 liberally licensed reference implementation sources: