From owner-freebsd-arch@FreeBSD.ORG Wed Apr 9 06:06:55 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 168D137B401 for ; Wed, 9 Apr 2003 06:06:55 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 482FA43FB1 for ; Wed, 9 Apr 2003 06:06:54 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h39D7IxS085834; Wed, 9 Apr 2003 09:07:18 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h39D7Ifc085833; Wed, 9 Apr 2003 09:07:18 -0400 (EDT) Date: Wed, 9 Apr 2003 09:07:18 -0400 From: Jake Burkholder To: Poul-Henning Kamp Message-ID: <20030409130718.GF78831@locore.ca> References: <31398.1049876261@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31398.1049876261@critter.freebsd.dk> User-Agent: Mutt/1.4i cc: arch@freebsd.org Subject: Re: endianess of /etc/pwd.db X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 13:06:55 -0000 Apparently, On Wed, Apr 09, 2003 at 10:17:41AM +0200, Poul-Henning Kamp said words to the effect of; > > 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. > Yes, please. Jake