1com-mkcdsl(1) com-mkcdsl(1)
2
3
4
6 com-mkcdsl - make cdsl
7
9 com-mkcdsl [-q|--quiet] [-l|--inventoryfile filename] [-f|--force]
10 [-a|--hostdependent] [-n|--noexecute] [-s|--shared]
11 [-c|--clusterconf filename] [-v|--version] [-i|--inventory]
12 [-d|--verbose] [-r|--root value] [-h|--help] sourcename
13
15 Creates context dependant symbolic links (cdsl). The process includes
16 creating and copying of files and directories and building symbolic
17 links. Needs a working cdsl-infrastructure and a matching inventory‐
18 file. Could create hostdependent and shared cdsls.
19
21 -q|--quiet
22 Reduces output to critical messages (supress debug and info mes‐
23 sages)
24
25 -l|--inventoryfile filename
26 Specify the path of inventoryfile to create/use (default:
27 /var/lib/cdsl/cdsl_inventory.xml)
28
29 -f|--force
30 Overwrites existing links, files and directories. Skip backup.
31
32 -a|--hostdependent
33 Create a hostdependent cdsl.
34
35 -n|--noexecute
36 Simulation mode. Display what would be done, but does not change
37 filesystem.
38
39 -s|--shared
40 Create a shared cdsl.
41
42 -c|--clusterconf filename
43 Specify the path of clusterconfiguration (default: /etc/clus‐
44 ter/cluster.conf)
45
46 -v|--version
47 Outputs version
48
49 -i|--inventory
50 updates inventoryfile: Add entry if cdsl with given target does
51 not exist in inventoryfile but on filesystem, delete entry if
52 cdsl does not exist on filesystem but in inventoryfile, update
53 entry if it exists in inventoryfile but verifies from filesystem
54
55 -d|--verbose
56 Extends output by adding debugging messages
57
58 -r|--root value
59 Sets chroot to create a Cdsl which should be used in a chroot-
60 Environment
61
62 -h|--help
63 Shows a short help
64
66 $ com-mkcdsl
67
68 Shows help
69
70 $ com-mkcdsl -i /dir_foo/file_bar
71
72 Check if /dir_foo/file_bar does appear in inventoryfile and if it ex‐
73 ists on filesystem. Delete, add or update entry in inventoryfile, de‐
74 pending on if cdsl does already exist in inventoryfile and if cdsl ex‐
75 ists on filesystem.
76
77 $ com-mkcdsl -d -a -l /my_inventory.xml /dir_foo/file_bar
78
79 Creates a shared cdsl /dir_foo/file_bar. If file does not already ex‐
80 ist, create it. Show debugging output. Use Inventoryfile at /my_inven‐
81 tory.xml
82
84 bin/com-mkcdsl
85 lib/comoonics/cdsl/*
86
87 The above files are distributed and installed by the com-cdsl-py pack‐
88 age.
89
91 This manual page was written by Andrea Offermann <andrea2@atix.de>.
92 Permission is granted to copy, distribute and/or modify this document
93 under the terms of the GNU Free Documentation License, Version 1.1 or
94 any later version published by the Free Software Foundation; with no
95 Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
96
98 com-mkcdslinfrastructure, com-rmcdsl, com-cdslinvchk, com-searchcdsls
99
100
101
102 22 July 2009 com-mkcdsl(1)