stat is different on Linux vs. IRIX. Will use ls instead and filter.

Merge of master-melb:xfs-cmds:23593a by kenmcd.

  stat is different on Linux vs. IRIX. Will use ls instead and filter.
This commit is contained in:
Tim Shimmin
2005-08-23 15:12:53 +00:00
parent 9a821d64fe
commit a5959aafca
2 changed files with 4 additions and 3 deletions
+3 -1
View File
@@ -99,7 +99,9 @@ echo "now fill in the holes"
_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
+1 -2
View File
@@ -6,5 +6,4 @@ creating quota file with holes
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