2021-05-25 01:18:11 +08:00
|
|
|
What: /sys/devices/.../removable
|
|
|
|
Date: May 2021
|
|
|
|
Contact: Rajat Jain <rajatxjain@gmail.com>
|
|
|
|
Description:
|
|
|
|
Information about whether a given device can be removed from the
|
|
|
|
platform by the user. This is determined by its subsystem in a
|
|
|
|
bus / platform-specific way. This attribute is only present for
|
|
|
|
devices that can support determining such information:
|
|
|
|
|
2021-09-27 19:10:55 +08:00
|
|
|
=========== ===================================================
|
|
|
|
"removable" device can be removed from the platform by the user
|
|
|
|
"fixed" device is fixed to the platform / cannot be removed
|
2021-05-25 01:18:11 +08:00
|
|
|
by the user.
|
2021-09-27 19:10:55 +08:00
|
|
|
"unknown" The information is unavailable / cannot be deduced.
|
|
|
|
=========== ===================================================
|
2021-05-25 01:18:11 +08:00
|
|
|
|
|
|
|
Currently this is only supported by USB (which infers the
|
|
|
|
information from a combination of hub descriptor bits and
|
2021-05-25 01:18:12 +08:00
|
|
|
platform-specific data such as ACPI) and PCI (which gets this
|
|
|
|
from ACPI / device tree).
|