]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - io/xfs_bmap.sh
3 # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
8 USAGE
="Usage: xfs_bmap [-adlpvV] [-n nx] file..."
11 while getopts "adln:pvV" c
17 n
) OPTS
=$OPTS" -n "$OPTARG;;
26 $VERSION && $DIRNAME/xfs_io
-p xfs_bmap
-V
28 shift `expr $OPTIND - 1`
32 $DIRNAME/xfs_io
-r -p xfs_bmap
-c "bmap $OPTS" "$1"
34 [ $status -ne 0 ] && exit $status