On Sun, Jun 01, 2003 at 07:17:04PM -0800, Ethan Benson wrote:
>
> Hi,
>
> I am trying to figure out how libhandle is used and have run into some
> difficulties.
>
> am i missing something obvious? or does this simply not work in linux?
it should work - xfsdump uses these interfaces extensively.
> also when looking at the libhandle source i noticed a few cases where
also might help to refer to xfsdump source, and the xfs_ioctl function
in the XFS kernel source. off the top of my head, I don't know what
the problem might be, nothing obvious.
> it calls exit(1) rather then return 1; from functions (path_to_handle
> does this if its internal open() call fails) this is really bad form
> for a shared library.
yup, fixed, thanks.
cheers.
--
Nathan
|