Add _create_loop_device and _destroy_loop_device to uniformly handle loopback devices. Signed-off-by: Tomas Racek <tracek@xxxxxxxxxx>
_create_loop_device() { dev=`losetup -f --show $file` || _fail "Cannot associate $file with $dev" echo $dev }
Looks good. Reviewed-by: Rich Johnston <rjohnston@xxxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs