9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] du vs. ls: duplication or not?
Date: Mon, 16 Jan 2012 13:06:55 -0500	[thread overview]
Message-ID: <6c01ad724f40c14fbdf63962e7d827e2@chula.quanstro.net> (raw)
In-Reply-To: <20120116174318.GA382@polynum.com>

On Mon Jan 16 12:46:42 EST 2012, tlaronde@polynum.com wrote:
> On Mon, Jan 16, 2012 at 11:13:49AM -0500, Joel C. Salomon wrote:
> > 
> > My guess would be that this discussion illustrates exactly why: ls(1) is
> > a gadget that pretty-prints the directory entry.  Extending it with '-R'
> >  would require it to learn about possibly-circular mount points; yuck.
> > On the other hand, du(1) has this sort of feature as its raison d'être.
> 
> And as my blunders have shown, du(1) tries but does not succeed.

you got the correct answer to the "wrong" question.  that's not
du's fault.  and changing the name of the program to "ls" will not
change the behavior.

- erik



  reply	other threads:[~2012-01-16 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14  8:01 tlaronde
2012-01-14  9:20 ` Charles Forsyth
2012-01-15 16:18   ` tlaronde
2012-01-15 21:17     ` erik quanstrom
2012-01-16 11:46       ` tlaronde
2012-01-16 16:13         ` Joel C. Salomon
2012-01-16 17:43           ` tlaronde
2012-01-16 18:06             ` erik quanstrom [this message]
2012-01-14  9:45 ` David du Colombier
2012-01-14 13:23 ` erik quanstrom
2012-01-16  7:39 arnold
2012-01-16 11:55 ` tlaronde
2012-01-16 13:21   ` erik quanstrom
2012-01-16 13:24 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c01ad724f40c14fbdf63962e7d827e2@chula.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).