xref: /linux/Documentation/ABI/testing/sysfs-class-zram (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
1What:		/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.
25