From owner-freebsd-arch Tue Mar 12 12:54:13 2002 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 8D01337B429; Tue, 12 Mar 2002 12:53:54 -0800 (PST) Received: from pool0291.cvx40-bradley.dialup.earthlink.net ([216.244.43.36] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16ktH8-0000sy-00; Tue, 12 Mar 2002 12:53:38 -0800 Message-ID: <3C8E6AC0.A51444E1@mindspring.com> Date: Tue, 12 Mar 2002 12:53:20 -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> 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: > 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 > 1 for NFSv2-mounted > 2 for NFSv3-mounted (maybe this isn't necessary...) > 3 for OpenAFS or ARLA mounted > 4 for CODA-mounted > 5 for something appletalk-ish, if we ever did that > 6 for something netware-ish, if we ever did that > > This way, any one system could choose whatever method it wants > to build the rest of the dev_t entry, and it knows it can not > conflict with the dev_t values that would be generated by any > other major filesystem type. man statfs. The answer is that it's possible to get the FS mount type already. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message