[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS java-package/lib



Jeroen van Wolffelaar wrote:
Could you please test this and report back to the bug?

Thanks,
--Jeroen

On Mon, Jan 24, 2005 at 05:04:02PM -0700, Jeroen van Wolffelaar wrote:

Update of /cvsroot/pkg-java/java-package/lib
In directory haydn:/tmp/cvs-serv31457/lib

Modified Files:
	common.sh
Log Message:
* Work around multiline df output caused by long device names
 (Closes: #289006)


function diskfree() {
    local size="$1"
    echo -n "Checking free diskspace:"
    read dummy dummy free2 free dummy < <( df --block-size=1M "$tmp" | tail -n 1 )

    # With long device names (devfsd) the number we're interested in might be
    # shifted one entry to the left (#289006)
    if [ "$free" -ne "${free%\%}" ]; then
        free="$free2"
    fi
    if [ "$free" -ge "$size" ]; then
		echo " done."
    else
		echo " <<< large user explaination here >>> "
		read
    fi
}


Unfortunately, when the last kernel-source-2.6.8 update went into Sarge
a couple of weeks ago, I finally got around to rebuilding my kernel
without devfs and getting udev to work.  Sorry.

If someone else could test this it would be appreciated.

-Roberto

--
Roberto Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: