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