I'm in a server environment (RHEL 7.2 or thereabouts) and I noticed that my udev rules get invoked (creating my custom symlinks) when I run parted print, even if I'm just listing partitions. When I run fdisk, udev is not triggered.
I strace -f'd both, and only noticed two suspicious items: 1) parted opens a bunch of udev stuff (but I can't really tell whether it calls anything), 2) parted opens the device first in RO and then, later, RW. I'm not sure if there's some udev hook for that.
Does anybody know of a systemd/udevd piece that might be involved in this?
thanks!