]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/xfs_ncheck.sh
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
8 USAGE
="usage: xfs_ncheck [-sfV] [-l logdev] [-i ino]... special"
11 while getopts "b:fi:l:svV" c
15 i
) OPTS
=$OPTS"-i "$OPTARG" ";;
17 f
) DBOPTS
=$DBOPTS" -f";;
18 l
) DBOPTS
=$DBOPTS" -l "$OPTARG" ";;
19 V
) xfs_db
-p xfs_ncheck
-V
31 1) xfs_db
$DBOPTS -r -p xfs_ncheck
-c "blockget -ns" -c "ncheck$OPTS" $1