small change to du, so it will accepts unit suffixes for
negative thresholds
Jason Hellenthal
jhellenthal at dataix.net
Fri Mar 2 06:37:03 UTC 2012
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 =;
More information about the freebsd-hackers
mailing list