xref: /linux/Documentation/ABI/testing/sysfs-devices-removable (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
170f400d4SRajat JainWhat:		/sys/devices/.../removable
270f400d4SRajat JainDate:		May 2021
370f400d4SRajat JainContact:	Rajat Jain <rajatxjain@gmail.com>
470f400d4SRajat JainDescription:
570f400d4SRajat Jain		Information about whether a given device can be removed from the
670f400d4SRajat Jain		platform by the	user. This is determined by its subsystem in a
770f400d4SRajat Jain		bus / platform-specific way. This attribute is only present for
870f400d4SRajat Jain		devices that can support determining such information:
970f400d4SRajat Jain
10*1f223cdbSMauro Carvalho Chehab		===========  ===================================================
11*1f223cdbSMauro Carvalho Chehab		"removable"  device can be removed from the platform by the user
12*1f223cdbSMauro Carvalho Chehab		"fixed"      device is fixed to the platform / cannot be removed
1370f400d4SRajat Jain			     by the user.
14*1f223cdbSMauro Carvalho Chehab		"unknown"    The information is unavailable / cannot be deduced.
15*1f223cdbSMauro Carvalho Chehab		===========  ===================================================
1670f400d4SRajat Jain
1770f400d4SRajat Jain		Currently this is only supported by USB (which infers the
1870f400d4SRajat Jain		information from a combination of hub descriptor bits and
19c037b6c8SRajat Jain		platform-specific data such as ACPI) and PCI (which gets this
20c037b6c8SRajat Jain		from ACPI / device tree).
21