Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2003 16:14:38 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        arch@freebsd.org
Subject:   Re: fsid_t 
Message-ID:  <21539.1052835278@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 13 May 2003 16:01:15 %2B0200." <xzpvfwf6j4k.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzpvfwf6j4k.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
>fsid_t is currently defined as a struct containing an array of two
>32-bit ints:
>
>typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */
>
>which is ridiculous as the only place where this is actually useful is
>when it is initialized (val[0] is set to the udev_t and val[1] to the
>vfs type number)

And we should be very careful with the udev_t thing, since udev_t's
are not very constant across reboots.

>Are there any objections to making fsid_t a uint64_t?

no objection from here.

-- 
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.



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