summaryrefslogtreecommitdiff
path: root/Documentation/block/capability.rst
blob: 2cf258d64bbedf92494c763208d31b760f2ea74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
===============================
Generic Block Device Capability
===============================

This file documents the sysfs file block/<disk>/capability

capability is a hex word indicating which capabilities a specific disk
supports.  For more information on bits not listed here, see
include/linux/genhd.h

GENHD_FL_MEDIA_CHANGE_NOTIFY
----------------------------

Value: 4

When this bit is set, the disk supports Asynchronous Notification
of media change events.  These events will be broadcast to user
space via kernel uevent.