|
|
| File: [Development] / xfs-cmds / xfsprogs / fsck / xfs_fsck.sh (download)
Revision 1.3, Mon Mar 3 03:07:47 2008 UTC (9 years, 7 months ago) by bnaujok.longdrop.melbourne.sgi.com
Debian and version updates Merge of master-melb:xfs-cmds:30604a by kenmcd. Execute bits changed from xxx to --- Ignore another option |
#!/bin/sh -f
#
# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
#
AUTO=false
while getopts ":aAy" c
do
case $c in
a|A|y) AUTO=true;;
esac
done
eval DEV=\${$#}
if [ ! -e $DEV ]; then
echo "$0: $DEV does not exist"
exit 8
fi
if $AUTO; then
echo "$0: XFS file system."
else
echo "If you wish to check the consistency of an XFS filesystem or"
echo "repair a damaged filesystem, see xfs_check(8) and xfs_repair(8)."
fi
exit 0