]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/xfs_metadump.sh
3 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
8 USAGE
="Usage: xfs_metadump [-aefFogwV] [-m max_extents] [-l logdev] source target"
10 while getopts "aefgl:m:owFV" c
16 m
) OPTS
=$OPTS"-m "$OPTARG" ";;
19 f
) DBOPTS
=$DBOPTS" -f";;
20 l
) DBOPTS
=$DBOPTS" -l "$OPTARG" ";;
21 F
) DBOPTS
=$DBOPTS" -F";;
22 V
) xfs_db
-p xfs_metadump
-V
34 2) xfs_db
$DBOPTS -i -p xfs_metadump
-c "metadump$OPTS $2" $1