dpm-register1
Register external files in dpns
Usage
dpm-register --filesize
filesize
[--user
owner_user]
[--group
owner_group]
[--mode
filemode]
--pfn
pfn
--server
hostname
[--st
status]
[--help]
filename
Overview
dpm-register registers a given filename with the specified permissions into DPNS:
- create the file metadata entry in DPNS (dpns_creat)
- set the ownership (dpns_chown) to owner_user : owner_group (by default the requester's DN and group)
- set the filemode (dpns_chmod) to filemode
- set the size of the file (dpns_setfsize) to filesize
- add the replica entry (dpns_addreplicax) setting
* sfn = pfn
* status to status ('O' for Online, 'N' for Nearline)
* f_type = 'P' (Permanent)
* r_type = 'P' (Primary)
Examples
dpm-register --filesize 525424 --server `hostname --fqdn` \--group biomed --pfn dicom:///1/2/3 \/dpm/cern.ch/home/biomed/mdm/1/2/3
Exit status
This program returns 0 if the operation was successful or >0 if the operation failed.
Releases
Unchanged in 5 releases since Debian 6.0 (Squeeze).