On 01/16/2012 06:46 AM, tlaro...@polynum.com wrote:
> It seems what I'm trying to say is not clear. I know that shipping Plan9
> has no '-R'. What I mean is, since find(1) and others are not here
> because they are duplicating other utils, and can be recreated with
> other "primitives", why du(1) was kept and not simply ls(1) extended
> with a '-R'? Since ls(1) already displays the size of a file (in bytes).

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.

--Joel

Reply via email to