# mkfs.xfs -f -i “attr=2,size=512” $SCRATCH_DEV # mount $SCRATCH_DEV $SCRATCH_MNT
# cd $SCRATCH_MNT # touch file # setfattr -n user.name.1 -v value file # xfs_bmap file # ls –i file # cd / # umount $SCRATCH_MNT # xfs_ncheck $SCRATCH_DEV # xfs_db -r $SCRATCH_DEV -c 'inode inode_number' -c 'p'
# mount $SCRATCH_DEV $SCRATCH_MNT # cd $SCRATCH_MNT # $BINDIR/makeextents -p -n 23 file
# xfs_bmap file # cd / # umount $SCRATCH_MNT # xfs_db -r $SCRATCH_DEV -c 'inode inode_number' -c 'p'
# mount $SCRATCH_DEV $SCRATCH_MNT # cd $SCRATCH_MNT # >file # xfs_bmap file
# for i in {2..24} > do > setfattr -n user.name.$i -v value file > done # getfattr -d file
# mount $SCRATCH_DEV $SCRATCH_MNT # cd $SCRATCH_MNT # $BINDIR/makeextents -p -n 3 file # xfs_bmap file # cd / # umount $SCRATCH_MNT # xfs_db -r $SCRATCH_DEV -c 'inode inode_number' -c 'p'