Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 01:36:59 -0500
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: small change to du, so it will accepts unit suffixes for negative thresholds
Message-ID:  <20120302063659.GB31588@DataIX.net>
In-Reply-To: <20120301233822.GA19709@freebsd.org>
References:  <20120301233822.GA19709@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, Mar 01, 2012 at 11:38:22PM +0000, Alexander Best wrote:
> hi there,
> 
> i just noticed that du will not accepts something like the following:
> 
> du -t-500M
> 
> whereas
> 
> du -t500M
> 
> will work. i've attached a patch, which makes unit suffixes in connection with
> negative thresholds possible.
> 

I don't get it. I just ran both instances of what you have above without
your patch on 8-STABLE i386 and both work as intended. Are you seeing
something I am not ?

-- 
;s =;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120302063659.GB31588>