Merge of master-melb:xfs-cmds:23593a by kenmcd.
stat is different on Linux vs. IRIX. Will use ls instead and filter.
_chowning_file 1000 2000 1
echo "look at the final file ownership for fun"
-stat -ug $SCRATCH_MNT/* | sed "s#$SCRATCH_MNT#SCRATCH_MNT#g"
+ls -l $SCRATCH_MNT/* \
+| $AWK_PROG 'NF > 2 {print $3, $4, $NF}' \
+| sed "s#$SCRATCH_MNT#SCRATCH_MNT#g"
# success, all done
status=0
now fill in the holes
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
look at the final file ownership for fun
-SCRATCH_MNT/file.chown:
- uid 1999; gid 1999
+1999 1999 SCRATCH_MNT/file.chown