xfs
[Top] [All Lists]

Re: usage of xfsctrl for embedded development / uuid question

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: usage of xfsctrl for embedded development / uuid question
From: Paul Chavent <paul.chavent@xxxxxxxx>
Date: Fri, 15 Jan 2010 22:11:21 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20100115124617.GJ28498@xxxxxxxxxxxxxxxx>
References: <5340782.170001263558076439.JavaMail.www@wsfrf1111> <20100115124617.GJ28498@xxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.23 (X11/20090812)
It's a wrapper around ioctl(). You can call ioctl() directly
on not need xfsctl at all...

Right, but i found nowhere the structures and the definition of XFS_IOC_* in the headers 
"exported" by the kernel.

So i have two solutions :
(1) i add -I/path_to_the_kernel_sources/fs to the cflags of my project.
(2) i install those headers in my sysroot.

I thought that those solutions where worst that only install headers from the 
xfsprogs package.

<Prev in Thread] Current Thread [Next in Thread>