ps and username size

Lombard, David N dnlombar at ichips.intel.com
Thu Jan 10 23:26:11 UTC 2008


On Thu, Jan 10, 2008 at 03:20:16PM -0800, Lombard, David N wrote:
> On Thu, Jan 10, 2008 at 11:22:52PM +0100, Cristian Ionescu-Idbohrn wrote:
> > On Thu, 10 Jan 2008, Tito wrote:
> > 
> > > OTOH it doesn't solve the problem of a possible ambiguity
> > > between username and uid as names composed only of digits
> > > are legal.
> > 
> > What I meant was: either (default) truncated usernames _or_ special option
> > to show _only_ uids.  That should surely solve the ambiguity problem.
> 
> Alternatively, the current patch to show usernames or uids (which provides for
> ambiguity but is consistent with procps) _or_ your special option to show
> _only_ uids.

sigh... _and_ not _or_.  That is, make the default the proposed username/uid patch
and also provide the option for uid-only.

> 
> Passes the least surprise test.  The new uid-only option could then be offered
> to procps, too.

-- 
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.



More information about the busybox mailing list