gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] FreeBSD issue


From: 田口毅
Subject: [Gluster-devel] FreeBSD issue
Date: Wed, 29 Jul 2009 11:12:14 +0900
User-agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-7.2

Hi, all
I'm try to use glusterfs 2.0.4 on my FreeBSD7.2 box.

In libgrusterfs/src/compat.h:
#ifdef GF_BSD_HOST_OS
....<snip>...
#ifndef ino64_t
#define ino64_t ino_t
#endif
... <snip>...

But on FreeBSD (and other OS which has UFS based FS),
ino_t is unsigned 32bit integer. not unsigned 64bit
integer.
I think this is a big probrem.

And on FreeBSD, sizeof size_t is depend on machine arch.
on amd64(EM64T), it is long uint, but on i386, it is uint.
So I made a tiny patch. it seem work.

But I can not make patch for ino_t probrem.
Does anyone support 32bit ino_t?

Thanks.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: logging.h-patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]