On Fri, Oct 07, 2016 at 03:23:00PM +0800, Qu Wenruo wrote: > +for img in $(find . \( -iname '*.img' -o \ > + -iname '*.img.xz' -o \ > + -iname '*.raw' -o \ > + -iname '*.raw.xz' \) | sort) > +do > + image=$(extract_image $img) > + run_check $TOP/btrfs check "$image" > + rm -f "$image" > +done
There's a helper that enumerates images and calls 'check_image' on each, so you should redefine 'check_image' if you don't want to do the default actions (check, repair and check). Fixed in devel. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html