Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/devices/.../removable
0002 Date:           May 2021
0003 Contact:        Rajat Jain <rajatxjain@gmail.com>
0004 Description:
0005                 Information about whether a given device can be removed from the
0006                 platform by the user. This is determined by its subsystem in a
0007                 bus / platform-specific way. This attribute is only present for
0008                 devices that can support determining such information:
0009 
0010                 ===========  ===================================================
0011                 "removable"  device can be removed from the platform by the user
0012                 "fixed"      device is fixed to the platform / cannot be removed
0013                              by the user.
0014                 "unknown"    The information is unavailable / cannot be deduced.
0015                 ===========  ===================================================
0016 
0017                 Currently this is only supported by USB (which infers the
0018                 information from a combination of hub descriptor bits and
0019                 platform-specific data such as ACPI) and PCI (which gets this
0020                 from ACPI / device tree).