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.
Date: Thu May 15 16:46:41 AEST 2008
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/xfs-cmds
Inspected by: hch@xxxxxxxxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/xfs-cmds/master-melb
Modid: master-melb:xfs-cmds:31169a
xfstests/073 - 1.11 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfstests/073.diff?r1=text&tr1=1.11&r2=text&tr2=1.10&f=h
- Don't use /tmp for hosting loopback images
|