sysfs-block-loop 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. What: /sys/block/loopX/loop/autoclear
  2. Date: Aug, 2010
  3. KernelVersion: v2.6.37
  4. Contact: linux-block@vger.kernel.org
  5. Description:
  6. (RO) Shows if the device is in autoclear mode or not ( "1" or
  7. "0"). Autoclear (if set) indicates that the loopback device will
  8. self-distruct after last close.
  9. What: /sys/block/loopX/loop/backing_file
  10. Date: Aug, 2010
  11. KernelVersion: v2.6.37
  12. Contact: linux-block@vger.kernel.org
  13. Description:
  14. (RO) The path of the backing file that the loop device maps its
  15. data blocks to.
  16. What: /sys/block/loopX/loop/offset
  17. Date: Aug, 2010
  18. KernelVersion: v2.6.37
  19. Contact: linux-block@vger.kernel.org
  20. Description:
  21. (RO) Start offset (in bytes).
  22. What: /sys/block/loopX/loop/sizelimit
  23. Date: Aug, 2010
  24. KernelVersion: v2.6.37
  25. Contact: linux-block@vger.kernel.org
  26. Description:
  27. (RO) The size (in bytes) that the block device maps, starting
  28. from the offset.
  29. What: /sys/block/loopX/loop/partscan
  30. Date: Aug, 2011
  31. KernelVersion: v3.10
  32. Contact: linux-block@vger.kernel.org
  33. Description:
  34. (RO) Shows if automatic partition scanning is enabled for the
  35. device or not ("1" or "0"). This can be requested individually
  36. per loop device during its setup by setting LO_FLAGS_PARTSCAN in
  37. in the ioctl request. By default, no partition tables are
  38. scanned.
  39. What: /sys/block/loopX/loop/dio
  40. Date: Aug, 2015
  41. KernelVersion: v4.10
  42. Contact: linux-block@vger.kernel.org
  43. Description:
  44. (RO) Shows if direct IO is being used to access backing file or
  45. not ("1 or "0").