git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH updated] Add "--dirstat" for some directory statistics

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 13, 2008, 13:48 UTC
Message-ID
<alpine.LSU.1.00.0802131347490.30505@racer.site>
In-Reply-To
<fou7pu$dpq$1@ger.gmane.org>
Hi,
On Wed, 13 Feb 2008, Abdelrazak Younes wrote:
Show 36 quoted lines
> Linus Torvalds wrote:
> > 	   7.6% fs/afs/
> > 	   7.6% fs/fuse/
> > 	   7.6% fs/gfs2/
> > 	   5.1% fs/jffs2/
> > 	   5.1% fs/nfs/
> > 	   5.1% fs/nfsd/
> > 	   7.6% fs/reiserfs/
> > 	  15.3% fs/
> [...]
> > For an example of the cumulative reporting, the above commit becomes
> [...]
> > 	   7.6% fs/afs/
> > 	   7.6% fs/fuse/
> > 	   7.6% fs/gfs2/
> > 	   5.1% fs/jffs2/
> > 	   5.1% fs/nfs/
> > 	   5.1% fs/nfsd/
> > 	   7.6% fs/reiserfs/
> > 	  61.5% fs/
> 
> 
> May I suggest this instead so to get rid of the cumulative option?
> 
>  	   7.6% fs/afs
>  	   7.6% fs/fuse
>  	   7.6% fs/gfs2
>  	   5.1% fs/jffs2
>  	   5.1% fs/nfs
>  	   5.1% fs/nfsd
>  	   7.6% fs/reiserfs
>  	  15.3% fs/
>  	  61.5% fs
> 
> A trailing slash would mean "no recursive, only this directory" and no
> trailing slash means well the opposite :-)

My 2cents: I find that highly counterintuitive (yes, I am a frequent user of "du").

Ciao, Dscho

Previous: Abdelrazak YounesNext: Wincent Colaiuta
Message 7 of 8 in “Add "--dirstat" for some directory statistics”
  1. Add "--dirstat" for some directory statisticsLinus Torvalds, Feb 12, 2008
  2. Linus TorvaldsFeb 12, 2008
  3. Junio C HamanoFeb 13, 2008
  4. Linus TorvaldsFeb 13, 2008
  5. Junio C HamanoFeb 13, 2008
  6. Abdelrazak YounesFeb 13, 2008
  7. Johannes SchindelinFeb 13, 2008
  8. Wincent ColaiutaFeb 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.