[Bug 262369] Add /proc/sys/kernel/random/boot_id

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Mar 2022 07:24:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262369

--- Comment #5 from Fernando ApesteguĂ­a <fernape@FreeBSD.org> ---
(In reply to Sami Halabi from comment #3)
Yes, uuid is different each time while boot_id is the same (it is generated
only for the first access):

[root@vm-current /compat/linux/proc/sys/kernel/random]# while true;do echo
"uuid: $(cat uuid)"; echo "boot_id: $(cat boot_id)"; echo "--------"; sleep 1;
done
uuid: 137336f7-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 141106f9-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 14b54806-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 155a0fe7-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 15f9a439-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 169ae638-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 173fa178-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------
uuid: 17e42d8f-9f82-11ec-a42a-080027bf0030
boot_id: edf12448-9f81-11ec-a429-080027bf0030
--------

-- 
You are receiving this mail because:
You are the assignee for the bug.