com-mkcdsl

Langue: en

Version: 22 July 2009 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

com-mkcdsl - make cdsl

SYNOPSIS

com-mkcdsl [-q|--quiet] [-l|--inventoryfile filename] [-f|--force] [-a|--hostdependent] [-n|--noexecute] [-s|--shared] [-c|--clusterconf filename] [-v|--version] [-i|--inventory] [-d|--verbose] [-r|--root value] [-h|--help] sourcename

DESCRIPTION

Creates context dependant symbolic links (cdsl). The process includes creating and copying of files and directories and building symbolic links. Needs a working cdsl-infrastructure and a matching inventoryfile. Could create hostdependent and shared cdsls.

OPTIONS

-q|--quiet
Reduces output to critical messages (supress debug and info messages)
-l|--inventoryfile filename
Specify the path of inventoryfile to create/use (default: /var/lib/cdsl/cdsl_inventory.xml)
-f|--force
Overwrites existing links, files and directories. Skip backup.
-a|--hostdependent
Create a hostdependent cdsl.
-n|--noexecute
Simulation mode. Display what would be done, but does not change filesystem.
-s|--shared
Create a shared cdsl.
-c|--clusterconf filename
Specify the path of clusterconfiguration (default: /etc/cluster/cluster.conf)
-v|--version
Outputs version
-i|--inventory
updates inventoryfile: Add entry if cdsl with given target does not exist in inventoryfile but on filesystem, delete entry if cdsl does not exist on filesystem but in inventoryfile, update entry if it exists in inventoryfile but verifies from filesystem
-d|--verbose
Extends output by adding debugging messages
-r|--root value
Sets chroot to create a Cdsl which should be used in a chroot-Environment
-h|--help
Shows a short help

EXAMPLES

 $ com-mkcdsl
 

Shows help

 $ com-mkcdsl -i /dir_foo/file_bar
 

Check if /dir_foo/file_bar does appear in inventoryfile and if it exists on filesystem. Delete, add or update entry in inventoryfile, depending on if cdsl does already exist in inventoryfile and if cdsl exists on filesystem.

 $ com-mkcdsl -d -a -l /my_inventory.xml /dir_foo/file_bar
 

Creates a shared cdsl /dir_foo/file_bar. If file does not already exist, create it. Show debugging output. Use Inventoryfile at /my_inventory.xml

FILES

bin/com-mkcdsl
lib/comoonics/cdsl/*

The above files are distributed and installed by the com-cdsl-py package.

AUTHOR

This manual page was written by Andrea Offermann <andrea2@atix.de>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

SEE ALSO

com-mkcdslinfrastructure, com-rmcdsl, com-cdslinvchk, com-searchcdsls