Bug 136857 - [patch] du(1): permit per directory only sum (no heritage).
Summary: [patch] du(1): permit per directory only sum (no heritage).
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hiren Panchasara
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-07-17 09:10 UTC by P.Moulin
Modified: 2022-10-17 12:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.79 KB, patch)
2009-07-17 09:10 UTC, P.Moulin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description P.Moulin 2009-07-17 09:10:05 UTC
When using "du", no option permit only per directories files sum.
here is a patch (option -N (No heritage)) to solve this.

Warning, the mail address given below is a spamtrap. Good email is : p.moulin (at) calyopea_donotfeedanimals (dot) com  (remove _donotfeedanimals)

Fix: Patch attached with submission follows:
Comment 1 Hiren Panchasara freebsd_committer freebsd_triage 2013-05-15 00:18:26 UTC
I am probably not getting what you intend to do here.

Is it "du -d 0" (no hierarchy) that you are looking for?

Can you please explain with an example?

cheers,
Hiren
Comment 2 Hiren Panchasara freebsd_committer freebsd_triage 2013-05-15 00:18:50 UTC
Responsible Changed
From-To: freebsd-bugs->hiren

Grab.
Comment 3 Hiren Panchasara freebsd_committer freebsd_triage 2014-08-22 23:37:56 UTC
Does '-d' not satisfy what you want to do?

Can you please explain?
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:44:56 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:40 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>