From owner-freebsd-arch Tue Mar 12 14:39:51 2002 Delivered-To: freebsd-arch@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 3E25637B43E; Tue, 12 Mar 2002 14:39:11 -0800 (PST) Received: from pool0291.cvx40-bradley.dialup.earthlink.net ([216.244.43.36] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16kuuq-0005rO-00; Tue, 12 Mar 2002 14:38:44 -0800 Message-ID: <3C8E8362.B95B74C@mindspring.com> Date: Tue, 12 Mar 2002 14:38:26 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Garance A Drosihn Cc: Poul-Henning Kamp , Harti Brandt , Robert Watson , Julian Elischer , arch@FreeBSD.ORG Subject: Re: Increasing the size of dev_t and ino_t References: <60373.1015917340@critter.freebsd.dk> <3C8E6AC0.A51444E1@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garance A Drosihn wrote: > This would not be to get the fs mount type, it would be to avoid > duplicate values for st_dev. By using one byte to explicitly > indicate the "pool of numbers" one is picking values for, each > "pool" can pick whatever values it wants for the remaining bits. ((N&X) | (N&(X^0xffffffff)) := N You aren't going to get more bits by splitting up the number this way, any more than splitting something into majors and minors will do it for you. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message