Bacula-users

Re: [Bacula-users] getting rid of the base64 encoded lstat field - table size testing

2009-04-16 06:39:54
Subject: Re: [Bacula-users] getting rid of the base64 encoded lstat field - table size testing
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 16 Apr 2009 11:33:16 +0100
>>>>> On Thu, 16 Apr 2009 08:46:15 +0800, Craig Ringer said:
> 
> Martin Simmons wrote:
> >>>>>> On Wed, 15 Apr 2009 11:58:08 +0800, Craig Ringer said:
> >> Anyway, the expanded schema:
> 
> [snip]
> 
> > Thanks, I was wondering what you had done about integers.  Is integer a 
> > 32-bit
> > quantity?
> 
> Yes.
> 
> > Beware that many of these stat fields are 64-bit on modern systems
> > (even for 32-bit operating systems).
> 
> I wrote a little test program to check, and at least on 32-bit linux 
> they're all 32-bit quantities except for `st_rdev'. I don't have a handy 
> 64-bit host (well, not running a 64-bit OS) to check.

On 64-bit Linux, they are all 64-bit except for st_mode, st_uid and st_gid.

__Martin

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users