Describe the bug
Submitting on behalf of a Gateway user:
Preface:
There are 2 drives with similar physical paths folder structures. We need to create a mapping to both shorten the path and abstract the Module DRIVE name.
i.e.
/DRIVE1/strm/gpfs -> /GW_D1
/DRIVE2/strm/gpfs -> /GW_D2
The problem is that OSAL OS_FileSysAddFixedMap needs to create a unique id ref string for the mapping. It seems to be just grabbing the sub-folder name of the physical path to create the unique id ref string.
i.e.
/DRIVE1/strm/gpfs
/DRIVE2/strm/gpfs
However, since both drives have the same sub-folder name it cannot create the second mapping.
OSAL OS_FileSysAddFixedMap should be using the new virtual path name given as the unique id string since those should always be unique.
i.e.
GW_D1
GW_D2
Reporter Info
Dan Knutsen
NASA Goddard