X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3C1C743A.5E6126E9@phekda.freeserve.co.uk> Date: Sun, 16 Dec 2001 10:15:22 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: statvfs References: <3C1A8FB2 DOT 7CEA5800 AT phekda DOT freeserve DOT co DOT uk> <7704-Sat15Dec2001204323+0200-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Eli Zaretskii wrote: > > Richard Dawe wrote: > > > I chose to zero the fields referring to the number of file serial > > numbers on a disk. I guess we could put some fake values here. > > Why not use the number of clusters as the number of file serial > numbers? (I assume that they mean the nomber of inodes on Posix > systems, right?) A file serial number is described as being a number which described the file uniquely on a filesystem. The description of dirent.h is a bit of a giveaway, because the d_ino member is called a file serial number. So, yes, it looks like it's the number of inodes. I'll update the code to return the number of clusters (aka blocks) in the serial number fields. Thanks! Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]