Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 14:38:26 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Harti Brandt <brandt@fokus.gmd.de>, Robert Watson <rwatson@FreeBSD.ORG>, Julian Elischer <julian@elischer.org>, arch@FreeBSD.ORG
Subject:   Re: Increasing the size of dev_t and ino_t
Message-ID:  <3C8E8362.B95B74C@mindspring.com>
References:  <60373.1015917340@critter.freebsd.dk> <p05101551b8b3c1f14df9@[128.113.24.47]> <3C8E6AC0.A51444E1@mindspring.com> <p05101558b8b426ace9ca@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C8E8362.B95B74C>