4 # Make sure that 64 bit platforms can mount inode64 filesystems
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
27 # get standard environment, filters and checks
31 # real QA test starts here
33 # Modify as appropriate.
35 _supported_os IRIX Linux
39 bitsperlong=`src/feature -w`
40 [ "$bitsperlong" -ne 64 ] && _notrun "inode64 not checked on this platform"
42 MOUNT_OPTIONS="$MOUNT_OPTIONS -o inode64"
43 _scratch_mkfs_xfs | _filter_mkfs 2>/dev/null
44 echo Silence is golden
47 [ $? -eq 0 ] || echo "inode64 mount failed unexpectedly!"