Re: [PATCH] xfsrestore: fix multi stream support

Eric Sandeen
2013-10-02T04:17:41Z

On 10/1/13 10:57 PM, Eric Sandeen wrote:

> #!/bin/bash
>
> # paths to binaries under test
> DUMP=/mnt/test2/git/xfsdump/dump/xfsdump
> RESTORE=/mnt/test2/git/xfsdump/restore/xfsrestore
>
> # what we'll create files in & dump
> DUMPDIR=/mnt/test
> # where we'll restore
> RESTOREDIR=/mnt/test2/restore
>
> mkdir -p $DUMPDIR/dir
> mkdir -p $RESTOREDIR
>
> clean () {
> rm -rf $DUMPDIR/dir/*
> rm -rf $RESTOREDIR/*x
> }
>
> clean
>
> xfs_io -f -c "pwrite 4k 4km" $DUMPDIR/dir/8ksparsefront

whoops typo, that should be "4k 4k"

-Eric