sysfs-class-zram 768 B

123456789101112131415161718192021222324
  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. What: /sys/class/zram-control/hot_add
  9. Date: August 2015
  10. KernelVersion: 4.2
  11. Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
  12. Description:
  13. RO attribute. Read operation will cause zram to add a new
  14. device and return its device id back to user (so one can
  15. use /dev/zram<id>), or error code.
  16. What: /sys/class/zram-control/hot_remove
  17. Date: August 2015
  18. KernelVersion: 4.2
  19. Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
  20. Description:
  21. WO attribute. Remove a specific /dev/zramX device, where X
  22. is a device_id provided by user.