]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
Don't use /tmp for hosting loopback images
authorDave Chinner <dgc@sgi.com>
Thu, 15 May 2008 16:37:27 +0000 (16:37 +0000)
committerDave Chinner <dgc@sgi.com>
Thu, 15 May 2008 16:37:27 +0000 (16:37 +0000)
commit247f0f7d140cd63c8593b660ab6b093b63ed940e
tree2f9f35e5cccf2aa2eaf4fd65ae36210a6ddd83ec
parent60f3da6dc9895352d9e93a4943bab75d5cedacc6
Don't use /tmp for hosting loopback images

/tmp might be small, might not support files larger than 2GB,
etc, so trying to host loopback images of 100GB filesystems
will break in some situations. We should use $TEST_DIR for the
images.

Note: remounting of loopback images has a major bug (in mount)
that "leaks" loopback device references. Hence all the hackery
with losetup to work around this.
Merge of master-melb:xfs-cmds:31169a by kenmcd.

  Don't use /tmp for hosting loopback images
073