Nicolas Williams <[EMAIL PROTECTED]> wrote:

> On Sat, Sep 29, 2007 at 12:42:38PM +0200, Joerg Schilling wrote:
> > Nicolas Williams <[EMAIL PROTECTED]> wrote:
> > > The 8 character limit is all about column formatting in tools like ps(1)
> > > and ls(1).  The 32 byte limit is from utmpx.
> > 
> > utmpx has no specific user name limit in POSIX.
>
> Maybe so, but:
>
> struct utmpx {
>         char    ut_user[32];            /* user login name */
>       ...
>
> That's what's in Solaris.  And the layout (and probably size) of struct
> utmpx is part of the ABI.
>
> > Before POSIX.1-2001, there indeed was a hard limit but this limit was from 
> > TAR!
> > 
> > With the new extended tar headers from POSIX.1-2001, user names could be 
> > _really_ llong.
>
> Fine, but then we have to extend utmpx.

If people like user names longer than 31 chars, yes.

POSIX did introduce the extended names in the TAR extended headers for two 
reasons:

1)      Allow a unique coding (UTF-8) for better portability of the archives

2)      Remove the length limit

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to