It's all about the answers!

Ask a question

What is share-root in scm start daemon ?


Takehiko Amano (1.3k3741) | asked May 12 '11, 1:04 a.m.
JAZZ DEVELOPER
In the scm daemon start manual,

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_daemon_start.html

There is a description,

share-root
A path to the root of a shared portion of the filesystem. Optional.

Questions are:

1. What is share-root ?
2. What is the purpose of this ?
3. What is the default value (when user did not specify) ?

The last one is required to stop daemon "scm daemon stop" as it says,


>scm daemon stop
Problem running 'daemon' 'stop':
Must specify one of [b]--share-root[/b] and --port. Try 'scm help daemon' 'stop' for more information.


As message tells, user have to specify --share-root. I've confirmed it is possible to stop just by --port (from the list of scm list daemon).

One answer



permanent link
Shashikant Padur (4.3k27) | answered May 13 '11, 3:05 a.m.
JAZZ DEVELOPER
Whenever you run 'lscm' say on a sandbox, a scm daemon process is started (or connects to an available daemon) and the sandbox root folder is added to the sandbox list tracked by the daemon.

Alternatively, you could start the daemon by running 'scm start daemon' which will start a daemon process but will not be tracking any sandboxes. 'scm start daemon share-root' will start a daemon process and will track the sandbox root.

You can run 'scm ls daemon' to list the daemons available and it will also show the sandboxes the daemon is tracking.

$ scm ls daemon
scm daemon stop -p Port Description
53179 Jazz CLI (2.1.0.201105051431)
/workspace/jazzdev
45286 Jazz CLI (2.1.0.v20110506_2056)
/test/aa
50607 Jazz CLI (2.1.0.v20110506_2056)
/test/bb


In the scm daemon start manual,

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_daemon_start.html

There is a description,

share-root
A path to the root of a shared portion of the filesystem. Optional.

Questions are:

1. What is share-root ?
2. What is the purpose of this ?
3. What is the default value (when user did not specify) ?

The last one is required to stop daemon "scm daemon stop" as it says,


>scm daemon stop
Problem running 'daemon' 'stop':
Must specify one of [b]--share-root[/b] and --port. Try 'scm help daemon' 'stop' for more information.


As message tells, user have to specify --share-root. I've confirmed it is possible to stop just by --port (from the list of scm list daemon).

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.