From owner-freebsd-arch Tue Mar 12 14: 1:37 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 1811C37B423; Tue, 12 Mar 2002 14:01:21 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g2CM0nnp026045; Tue, 12 Mar 2002 23:00:49 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Garance A Drosihn Cc: Terry Lambert , Harti Brandt , Robert Watson , Julian Elischer , arch@FreeBSD.ORG Subject: Re: Increasing the size of dev_t and ino_t In-Reply-To: Your message of "Tue, 12 Mar 2002 16:56:20 EST." Date: Tue, 12 Mar 2002 23:00:49 +0100 Message-ID: <26044.1015970449@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message , Garance A Drosihn writes: >At 12:53 PM -0800 3/12/02, Terry Lambert wrote: >>Garance A Drosihn wrote: >>> Now for suggestion part #2: >>> >>> Once we get to a 64-bit (u)dev_t, we could reserve one byte of >>> that for the "type of filesystem" (loosely speaking). A value >> > of 0 for local hard disks >> > 3 for OpenAFS or ARLA mounted >> > 4 for CODA-mounted [...etc...] >> >>man statfs. >> >>The answer is that it's possible to get the FS mount type >>already. > >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. You know, I find it rather theoretical what to do with the udev_t if(&when) it gets expanded to 64 bits, in particular considering that we appearntly have no active maintenance of AFS in FreeBSD at all... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message