blob: 48ddacbe0e69e5b11be9e280fe56de602034ccab [file] [log] [blame]
Sergey Senozhatsky6566d1a2015-06-25 15:00:24 -07001What: /sys/class/zram-control/
2Date: August 2015
3KernelVersion: 4.2
4Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
5Description:
6 The zram-control/ class sub-directory belongs to zram
7 device class
8
9What: /sys/class/zram-control/hot_add
10Date: August 2015
11KernelVersion: 4.2
12Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
13Description:
14 RO attribute. Read operation will cause zram to add a new
15 device and return its device id back to user (so one can
16 use /dev/zram<id>), or error code.
17
18What: /sys/class/zram-control/hot_remove
19Date: August 2015
20KernelVersion: 4.2
21Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
22Description:
23 WO attribute. Remove a specific /dev/zramX device, where X
24 is a device_id provided by user.