Documentation/ABI/testing/sysfs-devices-removable

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-devices-removable

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-devices-removable
Extension
[no extension]
Size
931 bytes
Lines
21
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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:

		===========  ===================================================
		"removable"  device can be removed from the platform by the user
		"fixed"      device is fixed to the platform / cannot be removed
			     by the user.
		"unknown"    The information is unavailable / cannot be deduced.
		===========  ===================================================

		Currently this is only supported by USB (which infers the
		information from a combination of hub descriptor bits and
		platform-specific data such as ACPI) and PCI (which gets this
		from ACPI / device tree).

Annotation

Implementation Notes