xref: /linux/Documentation/ABI/testing/sysfs-devices-removable (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1What:		/sys/devices/.../removable
2Date:		May 2021
3Contact:	Rajat Jain <rajatxjain@gmail.com>
4Description:
5		Information about whether a given device can be removed from the
6		platform by the	user. This is determined by its subsystem in a
7		bus / platform-specific way. This attribute is only present for
8		devices that can support determining such information:
9
10		===========  ===================================================
11		"removable"  device can be removed from the platform by the user
12		"fixed"      device is fixed to the platform / cannot be removed
13			     by the user.
14		"unknown"    The information is unavailable / cannot be deduced.
15		===========  ===================================================
16
17		Currently this is only supported by USB (which infers the
18		information from a combination of hub descriptor bits and
19		platform-specific data such as ACPI) and PCI (which gets this
20		from ACPI / device tree).
21