Re: {bb} Fedora 7 & BB 1.9i: Filesystem of $BBTMP is FULL
Marcin Struzak <[email protected]> Fri, 06 Jul 2007 13:35:19 -0700
| Newsgroups | gmane.network.bb4.general |
|---|---|
| Message-ID | <[email protected]> |
I don't think so...
DFSORT="-nk 5"
will expand to
/bin/sort "+-nk 5""
Does not look right (although I have not tried it...).
--Marcin
Robert-Andre Croteau wrote:
> Marcin Struzak wrote:
>> After installing BB 1.9i on Fedora 7, I started getting bogus
>> messages regarding a full filesystem. A closer investigation
>> revealed that at fault are two lines in bin/bb-disk.sh:
>>
>> line 60:eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v \"$DFEXCLUDE\" |
>> $SORT \"+${DFSORT}\" > $BBTMP/DFOUT.$$"
>> line 75: wclen1=`eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v
>> \"$DFEXCLUDE\" | $SORT \"+${DFSORT}\" | $WC"`
>>
>> The
>> $SORT \"+${DFSORT}\"
>> is being evaluated to
>> /bin/sort "+4"
>> and it upsets sort (it thinks +4 is a file).
>>
>> I fixed the problem by adding the option -k to both lines:
>>
>> line 60:eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v \"$DFEXCLUDE\" |
>> $SORT -k \"+${DFSORT}\" > $BBTMP/DFOUT.$$"
>> line 75: wclen1=`eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v
>> \"$DFEXCLUDE\" | $SORT -k \"+${DFSORT}\" | $WC"`
>>
>> I was wondering however, if that was going to be fixed in the
>> distribution in any upcoming versions...
>> Thanks.
>
> I believe, setting up
>
> DFSORT="-nk 5"
>
> for fedora should also be OK. No change to the source....
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.