интерфейс D-Bus системы systemd (The D-Bus interface of systemd)
DEVICE UNIT OBJECTS
All device unit objects implement the
org.freedesktop.systemd1.Device interface (described here) in
addition to the generic org.freedesktop.systemd1.Unit interface
(see above).
node /org/freedesktop/systemd1/unit/dev_2dttyS0_2edevice {
interface org.freedesktop.systemd1.Device {
properties:
readonly s SysFSPath = '...';
};
interface org.freedesktop.DBus.Peer { ... };
interface org.freedesktop.DBus.Introspectable { ... };
interface org.freedesktop.DBus.Properties { ... };
interface org.freedesktop.systemd1.Unit { ... };
};
Properties
Device units only expose a single type-specific property:
SysFSPath contains the sysfs path of the kernel device this
object corresponds to.