mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -81,7 +81,7 @@ _attr_list()
|
||||
file=$1
|
||||
|
||||
echo " *** print attributes"
|
||||
if ! _getfattr -ad $file
|
||||
if ! _getfattr -ad -e text $file
|
||||
then
|
||||
echo " !!! error return"
|
||||
return 1
|
||||
|
||||
@@ -190,7 +190,7 @@ echo; echo
|
||||
_backup()
|
||||
{
|
||||
# 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
|
||||
cat $1 >> $seq.full
|
||||
[ ! -s $1 ] && echo "warning: $1 (backup file) is empty"
|
||||
|
||||
Reference in New Issue
Block a user