Problem with ldbm-backend in fds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



neuron ring wrote:
> Hi,
>
> I have two doubts to be clarified regarding fds ldbm database.
>
> 1. Can anyone to help me how to find the total usage of a ldbm backend.
>
>
> /*
>  * dbsize.c - ldbm backend routine which returns the size (in bytes)
>  * that the database occupies on disk.
>  */
>
> #include "back-ldbm.h"
>
> int
> ldbm_db_size( Slapi_PBlock *pb )
> {
>
> /*contents*/
>
> }
>
> what this function doing? i m not able to find any commands
> which returns the size of database which occupies the disk space.
>
> what command does that? How to make use of this function "ldbm_db_size"
>
> -----------------------------------------------------------------------------------------------------
> 2. 
>
> /*
>  * rmdb.c - ldbm backend routine which deletes an entire database.
>  * This routine is not exposed in the public SLAPI interface. It
>  * is called by the replication subsystem when then changelog must
>  * be erased.
>  */
>
> #include "back-ldbm.h"
>
> int
> ldbm_back_rmdb( Slapi_PBlock *pb )
> {
> /*contents*/
>
> }
>
> When this function will be called? How to exercise this 
> ?ldbm_back_rmdb?. How to remove the entire DB. I tried 
>
> Ldapdelete and rm ?rf <back-end directory>
>
> But both of them didn?t access this function ?ldbm_back_rmdb?. Can 
> anyone give me a pointer.
>
>
> Thanks in advance,
> Neuron Ring
Can you provide more information about what you are trying to do?  Are 
you trying to write a database plug-in and you want to find out how to 
implement these functions?
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090312/f5dbae75/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux