Specifically, I've been trying to find what the possible values are for the property UDISKS_PARTITION_FLAGS. It seems to be set to "boot" if the partition has the boot/active flag set, and unset if not, but I'd like to find some documentation to that effect.
Google is unhelpful. I've downloaded and searched both the systemd source (which includes udev) and the kernel source, but found no match for the string "UDISKS_PARTITION_FLAGS". Where is the value of this property set? Where is it documented?
EDIT:
I've been using pyudev to access this property, and I thought it got them from udev. In response to the comments I've tried to get it to show up using
udevadm info --name=/dev/sda1 --attribute-walk
but I can't find the property in question there. However, looking at the link provided by slm in the comments, I found this command:
udisks --show-info /dev/sda1
The output has a partition
section, where flags
has the value boot
. So it's really this value I want to find the documentation or source code for. It is only present for the partition that has the boot flag set.
/sys
on my systems with the word "flag" or "flags" in it. It might be something the distribution defined specifically for their purposes. What distro is this on?