endianess of /etc/pwd.db
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Apr 9 01:17:43 PDT 2003
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 at 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.
More information about the freebsd-arch
mailing list