1. 14 Oct, 2010 22 commits
  2. 26 Sep, 2010 1 commit
  3. 24 Sep, 2010 2 commits
  4. 22 Sep, 2010 1 commit
  5. 10 Sep, 2010 13 commits
  6. 23 Aug, 2010 1 commit
    • Milan Broz's avatar
      loop: add some basic read-only sysfs attributes · ee862730
      Milan Broz authored
      Create /sys/block/loopX/loop directory and provide these attributes:
       - backing_file
       - autoclear
       - offset
       - sizelimit
      
      This loop directory is present only if loop device is configured.
      
      To be used in util-linux-ng (and possibly elsewhere like udev rules)
      where code need to get loop attributes from kernel (and not store
      duplicate info in userspace).
      
      Moreover loop ioctls are not even able to provide full backing
      file info because of buffer limits.
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
      ee862730