Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2003 10:17:41 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        arch@freebsd.org
Subject:   endianess of /etc/pwd.db
Message-ID:  <31398.1049876261@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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.


-- 
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?31398.1049876261>