Re: SEEK_HOLE support in 1.5.a60

Joerg Schilling <[email protected]>
Newsgroups gmane.comp.archivers.star.user
Message-ID <42BC084A.nailKI875JABV@burner>
Björn JACKE <[email protected]> wrote:

> On 2005-06-07 at 14:51 +0200 Joerg Schilling sent off:
> > Of course, it could make sense to add an experimental interface for a call
> > like xfsctl(XFS_IOC_GETBMAPX) to star in order to get some feeling for the
> > behavior, but in the long run I would prefer a unique interface across
> > all OS.
>
> how about using dmapi/XDSM 
> (http://www.opengroup.org/onlinepubs/9657099/toc.h) and the 
> dm_get_allocinfo() call ?
>
> This interface is supported by XFS for IRIX and Linux, GPFS for IBM 
> AIX and Linux, Veritas VxFS for Sun Solaris, JFS for HP-UX, JFS2 for 
> AIX 52B and Linux. But Linux distributions mostly don't have support 
> for dmapi in their kernels, just the "Enterprise Server" of SuSE, but 
> unfortunately not even their "Professional" box has it.

AFAIK, this is an interface for remotely controlled backup.

It is higly complex and from a quick looks as if it would cause a lot
of new code to be added to star.

Could you write some sample code?

But note, I would expect something like a libdmapi on Solaris which
I could not find. So it seems to be only bundled if you buy Veritas.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]		(uni)  
       [email protected]	(work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.