# mkfs protofile test
#
#-----------------------------------------------------------------------
-# Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
. ./common.rc
. ./common.filter
+_notrun "Retired until V1 directory code gets fixed up"
+
_cleanup()
{
echo "*** unmount"
/^Change:/d;
s/Device: *[0-9][0-9]*,[0-9][0-9]*/Device: <DEVICE>/;
s/Inode: *[0-9][0-9]*/Inode: <INODE>/;
+ s/Size: *[0-9][0-9]* *Filetype: Dir/Size: <DSIZE> Filetype: Dir/;
' | tr -s ' '
}
umount $SCRATCH_DEV >/dev/null 2>&1
_full "mkfs"
- mkfs -t xfs -f $VERSION -p $protofile $SCRATCH_DEV >>$seqfull 2>&1 \
- || _fail "mkfs failed"
-
+ mkfs_xfs $VERSION -p $protofile $SCRATCH_DEV >>$seqfull 2>&1 \
+ || _fail "mount failed"
+
echo "*** check FS"
_check_fs $SCRATCH_DEV
_full " mount"
mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seqfull 2>&1 \
|| _fail "mount failed"
-
+
echo "*** verify FS"
(cd $SCRATCH_MNT ; find . | sort \
| xargs $here/src/lstat64 | _filter_stat)