Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
63596d6f
Commit
63596d6f
authored
Apr 20, 2021
by
Steven Murray
Browse files
Removed more Oracle Tape library related code
parent
4b32dbcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
mediachanger/DismountCmdLine.cpp
View file @
63596d6f
...
...
@@ -161,16 +161,12 @@ std::string cta::mediachanger::DismountCmdLine::getUsage() {
return
std
::
string
()
+
"Usage:
\n
"
"
\n
"
" "
+
getProgramName
()
+
" [options] VID DRIVE_
SLOT
\n
"
" "
+
getProgramName
()
+
" [options] VID
smc
DRIVE_
ORDINAL
\n
"
"
\n
"
"Where:
\n
"
"
\n
"
" VID The VID of the volume to be dismounted.
\n
"
" DRIVE_SLOT The slot in the tape library where the drive is located.
\n
"
" DRIVE_SLOT must be in one of the following two forms:
\n
"
"
\n
"
" acsACS_NUMBER,LSM_NUMBER,PANEL_NUMBER,TRANSPORT_NUMBER
\n
"
" smcDRIVE_ORDINAL
\n
"
" VID The VID of the volume to be dismounted.
\n
"
" smcDRIVE_ORDINAL The drive ordinal.
\n
"
"
\n
"
"Options:
\n
"
"
\n
"
...
...
mediachanger/LibrarySlotParser.hpp
View file @
63596d6f
...
...
@@ -37,8 +37,7 @@ public:
* creates the corresponding object.
*
* The string representation of a tape library-slot must be in one of the
* following three forms:
* - acsACS_NUMBER,LSM_NUMBER,PANEL_NUMBER,TRANSPORT_NUMBER
* following two forms:
* - manual
* - smcDRIVE_ORDINAL
*
...
...
mediachanger/MountCmdLine.cpp
View file @
63596d6f
...
...
@@ -69,7 +69,7 @@ cta::mediachanger::MountCmdLine::MountCmdLine(const int argc,
// Check that both VID and DRIVE_SLOT has been specified
if
(
nbArgs
<
2
)
{
cta
::
exception
::
MissingOperand
ex
;
ex
.
getMessage
()
<<
"Both VID and DRIVE_
SLOT
must be specified"
;
ex
.
getMessage
()
<<
"Both VID and
smc
DRIVE_
ORDINAL
must be specified"
;
throw
ex
;
}
...
...
@@ -160,16 +160,12 @@ std::string cta::mediachanger::MountCmdLine::getUsage() {
return
std
::
string
()
+
"Usage:
\n
"
"
\n
"
" "
+
getProgramName
()
+
" [options] VID DRIVE_
SLOT
\n
"
" "
+
getProgramName
()
+
" [options] VID
smc
DRIVE_
ORDINAL
\n
"
"
\n
"
"Where:
\n
"
"
\n
"
" VID The VID of the volume to be mounted.
\n
"
" DRIVE_SLOT The slot in the tape library where the drive is located.
\n
"
" DRIVE_SLOT must be in one of the following two forms:
\n
"
"
\n
"
" acsACS_NUMBER,LSM_NUMBER,PANEL_NUMBER,TRANSPORT_NUMBER
\n
"
" smcDRIVE_ORDINAL
\n
"
" VID The VID of the volume to be mounted.
\n
"
" smcDRIVE_ORDINAL The drive ordinal.
\n
"
"
\n
"
"Options:
\n
"
"
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment