From owner-freebsd-hackers Sat Nov 20 19:21:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 5A52F14C19 for ; Sat, 20 Nov 1999 19:21:43 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [204.68.178.39] (helo=softweyr.com) by mail.xmission.com with esmtp (Exim 2.12 #2) id 11pNZO-0004jp-00; Sat, 20 Nov 1999 20:21:42 -0700 Message-ID: <38376544.96B017E9@softweyr.com> Date: Sat, 20 Nov 1999 20:21:40 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Daniel C. Sobral" Cc: John Polstra , Garance A Drosihn , hackers@FreeBSD.ORG Subject: Re: Portable way to compare struct stat's? References: <3836DF98.9A84EC44@newsguy.com> <3836F873.D3B989FE@softweyr.com> <3836FF7C.2D8236AE@newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > > Wes Peters wrote: > > > > It's not broken in this case. 2^16 (st_dev) is certainly enough to uniquely > > indentify all mounted filesystems, and 2^32 is (by definition) enough to > > uniquely indentify each of the files on a filesystem. Discussions (with > > strong, valid reasons) about expanding the size of ino_t should be carried > > out on -arch. > > Just to expand a little bit more, some distributed filesystems *do > not* have a unique identifier like the inode. So then the FreeBSD client software should create one? Do they just assign a random number as the st_ino when stat'ing the file? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message