MondoRescue::File, part of the mondorescue.org
This modules provides low level and generic functions for the Mondorescue project
This function normalize a path by removing .., . or // in paths given as parameters
This function erases all elements in the hash passed in parameter (such as the one created in mr_file_read_all_link) Takes as param the hash to delete and returns a new fresh one
This function returns all the links found for a given file passed as parameter Example: mr_file_read_all_link(/lib64) returns (/lib64,/usr/lib64) on a system having a link from /lib64 to /usr/lib64 The return value is a hash of all input files pointing to the hash of their links That hash needs to be cleaned up after usage
This function keeps track of the dependencies of a binary with its dynamic libraries by analyzing the return of ldd on that binary and recursing on all the dependencies to provide the complete list of files needed to have this binary run in a mindi or chroot context It takes a list of parameters which are the path of the binaries to analyze and for which we want its dependencies to be included
The main Web site of the project is available at http://www.mondorescue.org. Bug reports should be filled using the trac instance of the project at http://trac.mondorescue.org/.
For community exchanges around MondoRescue please use the list http://sourceforge.net/mailarchive/forum.php?forum_name=mondo-devel
The MondoRescue team lead by Bruno Cornec mailto:bruno@mondorescue.org.
MondoRescue is distributed under the GPL v2.0 license or later, described in the file COPYING included with the distribution.
COPYING
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install MondoRescue::Net, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MondoRescue::Net
CPAN shell
perl -MCPAN -e shell install MondoRescue::Net
For more information on module installation, please visit the detailed CPAN module installation guide.