0001 What: /sys/class/zram-control/
0002 Date: August 2015
0003 KernelVersion: 4.2
0004 Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
0005 Description:
0006 The zram-control/ class sub-directory belongs to zram
0007 device class
0008
0009 What: /sys/class/zram-control/hot_add
0010 Date: August 2015
0011 KernelVersion: 4.2
0012 Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
0013 Description:
0014 RO attribute. Read operation will cause zram to add a new
0015 device and return its device id back to user (so one can
0016 use /dev/zram<id>), or error code.
0017
0018 What: /sys/class/zram-control/hot_remove
0019 Date: August 2015
0020 KernelVersion: 4.2
0021 Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
0022 Description:
0023 WO attribute. Remove a specific /dev/zramX device, where X
0024 is a device_id provided by user.