Sergey Senozhatsky | 6566d1a | 2015-06-25 15:00:24 -0700 | [diff] [blame] | 1 | What: /sys/class/zram-control/ |
| 2 | Date: August 2015 |
| 3 | KernelVersion: 4.2 |
| 4 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> |
| 5 | Description: |
| 6 | The zram-control/ class sub-directory belongs to zram |
| 7 | device class |
| 8 | |
| 9 | What: /sys/class/zram-control/hot_add |
| 10 | Date: August 2015 |
| 11 | KernelVersion: 4.2 |
| 12 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> |
| 13 | Description: |
| 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 | |
| 18 | What: /sys/class/zram-control/hot_remove |
| 19 | Date: August 2015 |
| 20 | KernelVersion: 4.2 |
| 21 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> |
| 22 | Description: |
| 23 | WO attribute. Remove a specific /dev/zramX device, where X |
| 24 | is a device_id provided by user. |