From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1993-10-06 23:45:31 PST Xref: gmd.de comp.os.vms:32015 comp.sys.dec:10610 comp.client-server:1420 comp.sys.hp:25728 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!crash!cmkrnl!jeh From: jeh@cmkrnl.com Newsgroups: comp.os.vms,comp.sys.dec,comp.client-server,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: <1993Oct6.175501.2817@cmkrnl.com> Date: 6 Oct 93 17:55:01 PDT References: Followup-To: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Organization: Kernel Mode Systems, San Diego, CA In article , stroyan@fc.hp.com (Mike Stroyan) writes: > Marc Verbruggen (mvbr@se.alcbel.be) wrote: > > | 2. A question. In VMS file specifications you can include the network > | information, which allows you to use all file related commands to access > | a file anywhere. E.g. you just need COPY to copy files from here to > | there, even over the network. Does such a facility also exists in Unix? > | In other words, do the developpers of unifiedUnix have in their minds a > | method to put the network information in the file specification? This > | would enhance the use of ftp if it could be incorporated in commands > | like cp, rm, ls. > > There have been notations like that used for some Unix "networking" > implementations. The somewhat out of date uucp system featured a uux > command that accepted system prefixes before files and commands. Here > is an extract from the uux manual entry. > > | uux a!cut -f1 b!/usr/file \(c!/usr/file\) > | gets /usr/file from system b and sends it to system a, performs a cut > | command on the file, and sends the result of the cut command to system c. > > NFS is currently the most common method for Unix networking. This > tool mounts a directory tree from one machine onto a directory of > another machine's file system. This can be used in a visible way by > mounting remote file systems on /nfs/sysname and refering to remote > files like "cp /nfs/sysA/usr/file /nfs/sysB/usr/file". It can be used > in a much less visible way by making arbitrary directories like > /users/mvbr refer to directories on remote machines. And either way, you get to worry about synchronization problems if the various clients try to write to the same file at the same time. NFS is great for "publishing" read-only data; it isn't a good answer if you need update-in-place by multiple clients. > I think that putting networking features in the file system using the > existing file system notation is a much better approach than putting > networking into commands with a distinct networking notation. With > network file access done in the file system all programs can have > transparent access to network resources. > Mike Stroyan, mike_stroyan@fc.hp.com Perhaps you've misunderstood. Yes, in VMS the "remote node name" is set off from the rest of a file spec by a special delimiter (::) that does not appear elsewhere in the syntax of file specs. However that does not mean that the "command" (rather, the program invoked by the command) has to do anything to interpret it. The remote node name is still interpreted by the file system, not the program invoked by the command. Hence all programs have transparent access to network files. In fact they have transparent access to remote DECnet tasks as well -- I can open and write to what appears to me to be a file but is in fact a task running somewhere else on the net (or maybe on my node), reading all the data I send it, and the only thing special at my end is the name of the "file" that I open. Ditto for reading data from remote tasks. --- Jamie Hanrahan, Kernel Mode Systems, San Diego CA drivers, internals, networks, applications, and training for VMS and Windows NT uucp protocol weenie and release coordinator, VMSnet (DECUS uucp) Working Group Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG Internet: jeh@cmkrnl.com (JH645) Uucp: uunet!cmkrnl!jeh CIS: 74140,2055