Merge of xfs-cmds-2.4.18:slinx:112376a by nathans.

force text encoding to be used to overcome AndreasG print heuristics.
This commit is contained in:
Nathan Scott
2002-02-25 22:53:12 +00:00
parent a755a2e4e5
commit 6fc3389690
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ _attr_list()
file=$1 file=$1
echo " *** print attributes" echo " *** print attributes"
if ! _getfattr -ad $file if ! _getfattr -ad -e text $file
then then
echo " !!! error return" echo " !!! error return"
return 1 return 1
+1 -1
View File
@@ -190,7 +190,7 @@ echo; echo
_backup() _backup()
{ {
# NB: no filtering of scratch here... (need to restore too) # NB: no filtering of scratch here... (need to restore too)
/usr/bin/getfattr -adl -sR $SCRATCH_MNT >$1 /usr/bin/getfattr -adl -R -r '^user|^system' $SCRATCH_MNT >$1
echo BACKUP $1 >>$seq.full echo BACKUP $1 >>$seq.full
cat $1 >> $seq.full cat $1 >> $seq.full
[ ! -s $1 ] && echo "warning: $1 (backup file) is empty" [ ! -s $1 ] && echo "warning: $1 (backup file) is empty"