Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 07:19:48 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Garance A Drosehn <gad@freebsd.org>
Cc:        Robert Watson <rwatson@freebsd.org>, current@freebsd.org
Subject:   Re: Pending TrustedBSD stuff, etc.
Message-ID:  <20070601211948.GB80261@turion.vk2pj.dyndns.org>
In-Reply-To: <p06240806c285edb0d22f@[128.113.24.47]>
References:  <20070601102516.Q77697@fledge.watson.org> <p06240806c285edb0d22f@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Jun-01 11:52:07 -0400, Garance A Drosehn <gad@freebsd.org> wrote:
>> - Peter Wemm has been talking about moving us to 64-bit inode numbers
>
> I suspect this should wait.  It would probably be better to group
> together all the other changes to filesystem stat-ish data that we've
> also been talking about for years, and do them all in the same major
> release.

Agreed.  Every time we change struct stat, we need to create legacy
syscalls or libc code so the fewer changes the better.

>  I don't know at what level you mean to move to 64-bit inode
> numbers, but if (for instance) you meant a 64-bit value for st_ino,

Since an inode number needs to fit into an ino_t, I would expect that
ino_t and hence st_ino would both become 64-bit.

> then I'd also like to see a 64-bit value for st_dev at the same time.

I can see the reason for having more than 2^32 inodes in a filesystem.
It's not as obvious why you would need a 64-bit dev_t.  You're never
going to have more than 2^32 devices attached to a system and I would
suggest that it's unlikely that you would have more than 255 active
drivers on one system.

What other struct stat changes are up for discussion?

--=20
Peter Jeremy

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGYI10/opHv/APuIcRAr7NAKCowqYE1R1LmDLhD1tbVFGHWgt2mQCgojdA
BD4Rv14/AcS/AvrrsKgs8OY=
=5qbZ
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--



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