]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/xfs_metadump.sh
2 # SPDX-License-Identifier: GPL-2.0
4 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
9 USAGE
="Usage: xfs_metadump [-aefFogwV] [-m max_extents] [-l logdev] source target"
11 while getopts "aefgl:m:owFV" c
17 m
) OPTS
=$OPTS"-m "$OPTARG" ";;
20 f
) DBOPTS
=$DBOPTS" -f";;
21 l
) DBOPTS
=$DBOPTS" -l "$OPTARG" ";;
22 F
) DBOPTS
=$DBOPTS" -F";;
23 V
) xfs_db
-p xfs_metadump
-V
35 2) xfs_db
$DBOPTS -i -p xfs_metadump
-c "metadump$OPTS $2" $1