Subject: Re: ridiculous uid
To: <>
From: Christopher Schultz <chris@christopherschultz.net>
List: port-cobalt
Date: 12/02/2005 09:31:03
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig135C86E854CAE41342EBFF87
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Dieter,
>> Looks like an endian problem. 3154575360 is 0xBC070000; 0x07BC is
>> 1980. Similarly, 16777216 is 0x1000000, while daemon should be uid
>> 1.
>
> Hmm, indeed. It's probably useful to notice that I booted and mounted
> everything from an other-endian system (sparc). More, if I mount a
> directory with extracted base and etc (RC5 sets) from my (x86) laptop
> and chroot to that, uids are not swapped.
It occurs to me that GNU/Linux's mount command has an option that allows
you to byte-swap a volume... to solve these exact types of issues. Does
anyone know if that option exists in NetBSD? My qube has been off for
months...
I'm suprised that you were even able to boot and run programs. ;)
-chris
--------------enig135C86E854CAE41342EBFF87
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDkFqq9CaO5/Lv0PARAvoTAJ9oSeXpn7Z9tqWV7dShoMEPdTahqQCfd9PR
rSEapbCZx833+Qf2HTInDaU=
=uP8N
-----END PGP SIGNATURE-----
--------------enig135C86E854CAE41342EBFF87--