From owner-freebsd-current@FreeBSD.ORG Mon Jun 6 16:04:08 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6173216A41C; Mon, 6 Jun 2005 16:04:08 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA7C043D1F; Mon, 6 Jun 2005 16:04:07 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost.des.no [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id B021B60F0; Mon, 6 Jun 2005 18:03:59 +0200 (CEST) Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id 975A660EF; Mon, 6 Jun 2005 18:03:59 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 84D4433C3B; Mon, 6 Jun 2005 18:03:59 +0200 (CEST) To: Scott Long References: <82ACAD58-B179-44E2-852F-60F25C0BBBC1@FreeBSD.org> <20050606033145.GA80739@www.portaone.com> <42A3D6CF.2000504@samsco.org> <0A6C1F19-A734-4EC8-BE97-2D000D189968@FreeBSD.org> <42A453B5.3020006@samsco.org> <86oeaj1r2x.fsf@xps.des.no> <42A463EF.5060401@samsco.org> <86fyvvqzil.fsf@xps.des.no> <20050606095117.Q52957@pooker.samsco.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 06 Jun 2005 18:03:59 +0200 In-Reply-To: <20050606095117.Q52957@pooker.samsco.org> (Scott Long's message of "Mon, 6 Jun 2005 09:57:04 -0600 (MDT)") Message-ID: <863brvqxow.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on tim.des.no X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.2 Cc: Suleiman Souhlal , Garance A Drosihn , current@freebsd.org, fs@freebsd.org Subject: Re: [PATCH] IFS: Inode FileSystem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 16:04:08 -0000 Scott Long writes: > On Mon, 6 Jun 2005, [iso-8859-1] Dag-Erling Sm=F8rgrav wrote: > > Changing the stat(2) API to support 64-bit inodes does not require us > > to simultaneously change the on-disk layout of every filesystem we > > support to use 64-bit inodes. However, if we want to fully support > > filesystems with 64-bit inodes (such as FAT32, which currently uses a > > convoluted hack to map the 64-bit offset of a directory entry into a > > 32-bit inode), we need to change the API. > Ah, I see your point. Well, it's not too late to address this for 6.0, > and it might be a really good idea to think about it now. Is there > anything else that should be bumped along with it? Not that I know of. I believe the best way to do this is the way Linux did it: introduce new *stat64() syscalls and keep the old ones around. #define magic in will take care of making *stat64() look like *stat(). DES --=20 Dag-Erling Sm=F8rgrav - des@des.no