On Tue, Jun 20, 2006 at 03:40:44PM +0200, Urs Beyerle wrote:
> Hi,
> 
> I would like to use unionfs 1.1.5 together with the Redhat kernel 
> 2.6.9-34.0.1.EL.
> The 2.6.9-34.0.1.EL kernel is used by RHEL4, CentOS 43, Scientific Linux 43.
> 
> Compiling was no problem after a small change in unionfs.h (gfp_t is 
> already defined in the Redhat kernel)
> 
> # diff unionfs.h unionfs.h.ori
> 227c227
> < /* typedef unsigned __bitwise__ gfp_t; */
> ---
> > typedef unsigned __bitwise__ gfp_t;
 
Hrm. I'll try to dig up a 2.6.9 kernel and check it out.

One note, most open source projects prefer the unified format of diff:

diff -u oldfile newfile

It gives everyone some context to the changes. (Including the patch(1)
utility which can then guess about the location if you move some code a
little.)
 
> Mounting unionfs works.
> But using unionctl fails with "Inappropriate ioctl for device" error.
>
> Output of strace:
> ....
> munmap(0xb7f78000, 4096)                = 0
> open("/union", O_RDONLY)                = 3
> lstat64("/bin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> ioctl(3, 0x4004150c, 0xbff07800)        = -1 ENOTTY (Inappropriate ioctl 
> for device)
> write(2, "Failed to add /bin into /union: "..., 62Failed to add /bin 
> into /union: Inappropriate ioctl for device) = 62
> exit_group(1)                           = ?

If I remember correctly, the branch still gets added, correct?

Could you create a bug entry in bugzilla (bugzilla.filesystems.org)?

Jeff.

-- 
Keyboard not found!
Press F1 to enter Setup
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to