Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a authored by Linus Torvalds on 08 May 2022, 20:54:17 UTC
Linux 5.18-rc6
Tip revision: c5eb0a6
sysfs-class-zram
What:		/sys/class/zram-control/
Date:		August 2015
KernelVersion:	4.2
Contact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Description:
		The zram-control/ class sub-directory belongs to zram
		device class

What:		/sys/class/zram-control/hot_add
Date:		August 2015
KernelVersion:	4.2
Contact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Description:
		RO attribute. Read operation will cause zram to add a new
		device and return its device id back to user (so one can
		use /dev/zram<id>), or error code.

What:		/sys/class/zram-control/hot_remove
Date:		August 2015
KernelVersion:	4.2
Contact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Description:
		WO attribute. Remove a specific /dev/zramX device, where X
		is a device_id provided by user.
back to top