- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Mounting UNIX FS on OpenVMS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 11:02 AM
тАО02-01-2011 11:02 AM
Mounting UNIX FS on OpenVMS
I am porting an app from UNIX to OpenVMS. Initially, I like to compile this on a source
code that resides on UNIX (mounted thoruh NFS
on OpenVMS). I plan to use GNV for this.
All the scripts etc (Makefile, installation) use UNIX filenames.
After mounting the UNIX FS, the first hurdle I face is that UNIX filenames are getting translated in undesirables ways. The most
important (and annoying) being Upper case (say A) becomes preceded with $.
Can someone please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 12:08 PM
тАО02-01-2011 12:08 PM
Re: Mounting UNIX FS on OpenVMS
OpenVMS supports most of the Unix file name syntax in the C APIs and can have (more) of the syntax enabled via controlling logical names, and can perform both case-preserving and case-sensitive operations with OpenVMS Alpha and OpenVMS I64 systems starting circa V7.3-2 and later.
GNV is somewhat or mostly or partially functional, and can be both useful and quite frustrating.
I'd strongly avoid trying remote mounts and trying to operate across file systems. That adds all sorts of complexity, and both Unix and VMS can get "helpful" here. Switch to extended parsing (see the SET PROCESS /PARSE=EXTENDED and related commands) and switch to the ODS-5 volume structure, and the C APIs (and GNV) and you'll reduce some of the complexity you would otherwise have to deal with.
Getting NFS into this mix is going to make this more difficult.
Here is the HP porting documentation; an overview of porting Unix C code to VMS:
http://h71000.www7.hp.com/portability/
I've dealt with a whole pile of ports, and here are some related notes from that:
Experiences with GNV:
http://labs.hoffmanlabs.com/node/1393
http://labs.hoffmanlabs.com/node/1481
Programming C on VMS:
http://labs.hoffmanlabs.com/node/273
http://labs.hoffmanlabs.com/node/758
http://labs.hoffmanlabs.com/node/1058
http://labs.hoffmanlabs.com/taxonomy/term/73
C Feature logical names:
http://labs.hoffmanlabs.com/node/1513
(see the vms_crtl_init.c stuff there, too)
RMS file sharing, RMS intro:
http://labs.hoffmanlabs.com/node/1135
http://labs.hoffmanlabs.com/node/357
Extended (case-sensitive) parsing:
http://labs.hoffmanlabs.com/node/1248
http://labs.hoffmanlabs.com/node/1297
diff/patch, other tools
http://labs.hoffmanlabs.com/node/1310
http://labs.hoffmanlabs.com/node/1241
In particular, see the DECC$EFS_CASE_PRESERVE logical name. GNV has a list.
There are excellent porting resources and details available over at the DECUSERVE conferencing system, too, in the PORTING_TO_VMS conference:
http://decuserve.org/anon/htnotes/conf?f1=PORTING_TO_VMS
(or get yourself a free login into DECUSERVE, and use NOTES directly.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 12:15 PM
тАО02-01-2011 12:15 PM
Re: Mounting UNIX FS on OpenVMS
http://h71000.www7.hp.com/doc/732final/6526/6526pro_058.html#trans_appendix
This is likely the $ you are encountering.
See the /STRUCTURE=5 switch to enable ODS-5 extended file naming:
http://h71000.www7.hp.com/doc/732final/6527/6527pro_005.html#mount_comm
There are also some ADF files that can come into play here:
http://h71000.www7.hp.com/doc/732final/6526/6526pro_047.html#nfs_client_chap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 02:21 PM
тАО02-01-2011 02:21 PM
Re: Mounting UNIX FS on OpenVMS
bigger problems. Thanks for giving pointers
in advance for the porting and specifically
about GNV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 07:48 AM
тАО02-03-2011 07:48 AM
Re: Mounting UNIX FS on OpenVMS
HP TCPIP 5.7 ECO2
Purely Personal Opinion