Re: [PATCH] IFS: Inode FileSystem

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 06 Jun 2005 18:03:59 +0200
Scott Long <scottl_at_pooker.samsco.org> writes:
> On Mon, 6 Jun 2005, [iso-8859-1] Dag-Erling Smørgrav 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
<sys/stat.h> will take care of making *stat64() look like *stat().

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Jun 06 2005 - 14:04:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC