Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
33ead4bb
Commit
33ead4bb
authored
7 years ago
by
Cristina Moraru
Browse files
Options
Downloads
Patches
Plain Diff
Add extra info
Signed-off-by:
Cristina Moraru
<
cristina-gabriela.moraru@cern.ch
>
parent
9f03683b
No related branches found
Branches containing commit
Tags
debian/noble/4.13.1-1+ub2404u1_fsec
debian/oracular/4.13.1-1+ub2404u1_fsec
Tags containing commit
No related merge requests found
Pipeline
#13743
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tapeserver/castor/tape/tapeserver/drive/README.st
+22
-0
22 additions, 0 deletions
tapeserver/castor/tape/tapeserver/drive/README.st
with
22 additions
and
0 deletions
tapeserver/castor/tape/tapeserver/drive/README.st
+
22
−
0
View file @
33ead4bb
...
...
@@ -112,3 +112,25 @@ GMT_ONLINE
cmd_type
==
_
IOC_TYPE
(
MTIOCGET
)
&&
cmd_nr
==
_
IOC_NR
(
MTIOCGET
)
STp->
ready
==
ST_READY
same
as
above
Additionally,
are
special
functionalities
based
on
other
system
calls
than
ioctl
Snippet
from
Wrapper
.
hpp
class
realWrapper:
public
virtualWrapper
{
public:
virtual
DIR
*
opendir
(
const
char
*
name
)
{
return
::
opendir
(
name
);
}
virtual
struct
dirent
*
readdir
(
DIR
*
dirp
)
{
return
::
readdir
(
dirp
);
}
virtual
int
closedir
(
DIR
*
dirp
)
{
return
::
closedir
(
dirp
);
}
virtual
int
readlink
(
const
char*
path
,
char
*
buf
,
size_t
len
)
{
return
::
readlink
(
path
,
buf
,
len
);
}
virtual
char
*
realpath
(
const
char*
name
,
char
*
resolved
)
{
return
::
realpath
(
name
,
resolved
);
}
virtual
int
open
(
const
char*
file
,
int
oflag
)
{
return
::
open
(
file
,
oflag
);
}
.
..
virtual
ssize_t
read
(
int
fd,
void
*
buf
,
size_t
nbytes
)
{
return
::
read
(
fd
,
buf
,
nbytes
);
}
virtual
ssize_t
write
(
int
fd,
const
void
*
buf
,
size_t
nbytes
)
{
return
::
write
(
fd
,
buf
,
nbytes
);
}
virtual
int
close
(
int
fd
)
{
return
::
close
(
fd
);
}
virtual
int
stat
(
const
char
*
path
,
struct
stat
*
buf
)
{
return
::
stat
(
path
,
buf
);
}
virtual
castor:
:tape::tapeserver::drive::
DriveInterface
*
getDriveByPath
(
const
std:
:
string
&
)
{
return
NULL
;
}
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment