Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 python 脚本来插入设备详细信息。我正在使用 udev 库来管理连接的设备。
从我的 python 脚本中,我想检查插入的设备是否可热插拔。如何使用 udev 库找到它。
早些时候我使用 HAL 库来管理设备。在 HAL 中,我能够从 HAL 设备的“storage.hotpluggable”属性中获取此信息。
请帮忙。提前致谢....