Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 16:13:45 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "Jacques A. Vidrine" <nectar@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: endianess of /etc/pwd.db 
Message-ID:  <99400.1051539225@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 28 Apr 2003 07:06:38 CDT." <20030428120638.GA3289@madman.celabo.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030428120638.GA3289@madman.celabo.org>, "Jacques A. Vidrine" writ
es:
>On Wed, Apr 09, 2003 at 07:26:20AM -0500, Jacques A. Vidrine wrote:
>> On Wed, Apr 09, 2003 at 10:17:41AM +0200, Poul-Henning Kamp wrote:
>> > 
>> > Kris ran into this problem:  copying a /etc/pwd.db from one endianess
>> > to another gave him really weird uid/gid numbers.
>> > 
>> > The DB code itself is endianess-agnostic, so the first warning one
>> > gets is the weird UID/GID.
>> > 
>> > Should we make the endianess of this file explicit to prevent this
>> > pit-fall for our users ?  The cost would be less than epsilon.
>
>In case you didn't otherwise notice, this is done.

I could be a bit worried about doubling the size of the file, but for a
transistion period it does make sense.

Great work!

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99400.1051539225>