usage of xfsctrl for embedded development / uuid question

Paul Chavent paul.chavent at fnac.net
Fri Jan 15 15:11:21 CST 2010


> 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.




More information about the xfs mailing list