]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - io/xfs_bmap.sh
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
8 USAGE
="Usage: xfs_bmap [-adelpvV] [-n nx] file..."
11 while getopts "adeln:pvV" c
18 n
) OPTS
=$OPTS" -n "$OPTARG;;
27 $VERSION && $DIRNAME/xfs_io
-p xfs_bmap
-V
29 shift `expr $OPTIND - 1`
33 $DIRNAME/xfs_io
-r -p xfs_bmap
-c "bmap $OPTS" "$1"
35 [ $status -ne 0 ] && exit $status