From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9d27428fe655409a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-12 14:43:25 PST Newsgroups: comp.sys.dec Path: bga.com!news.sprintlink.net!hookup!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: Help on Future of VAX / VMS Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <> <32arrg$8b0@sol.ccs.deakin.edu.au> Date: Fri, 12 Aug 1994 18:28:23 GMT In article <32arrg$8b0@sol.ccs.deakin.edu.au>, Douglas Miller wrote: > In Article > peter@nmti.com (Peter da Silva) writes: > >> >POSIX is a useful spec for writing portable applications, > >> >if your application doesn't have to know much about its environment. > >> Kind of follows from the definition of "portable". > >No. > Yes. I'm saying you have made a tautology. Only if you think "portable" is a binary condition: that a program is either portable or it isn't. > >> >Linux is "unix". MINIX is "unix". Neither of these have line 1 of AT&T > >> >code in them. > >> Yes I know. But are they Unix? > >Yes. > Why do you think this (I'm curious)? OK, abandoning ALL practical definitions (because they all come down to what software you can port to the system) and taking a philosophical stance. UNIX is: 1. A common hierarchical name space for all programs on the system that contains all files and devices, and (with few exceptions) is the mechanism for controlling access to objects. 2. A standard opaque object, the file descriptor, that acts as the common intermediary for all transactions. 3. A small common set of operations that are available on that object. Version 7 has 35 system calls, and while there's a lot more than that in System V a large subset of these 35 are still there and cover most of the things you do. On a UNIX system, you can (with appropriate privilege) access any object in the system by calling "open", "read", "write", and so on. ANY object. Not just objects that have been exposed to the POSIX subsystem. That means that if I "su" and edit /etc/passwd I've done something... I don't have to go back and dink with SYSUAF.DAT or whatever it's called. Now there are more and more exceptions to this, and the more there are the less a system is UNIX. The worst case that can still be called UNIX is System V, with the abominable IPC mechanisms and ridiculous extra name spaces for shared memory, streams, and such. Berkeley network domain sockets are another case, but they're acceptable since they operate outside the domain of the system. UNIX domain sockets are acceptably UNIXy. In other ways, UNIX systems are getting closer to the ideal. Just look at the interesting file systems out there like ALEX. The reason VMS isn't UNIX is that there are programs you have to have to run the system that don't operate on the UNIX interfaces. It contains an increasingly good UNIX emulator, and one might even be able to say that the POSIX subsystem is UNIX one of these days, but VMS itself does not use the UNIX model. This doesn't necessarily mean that it's bad, in and of itself, just that it's not UNIX. > Fine. But suppose you want "Unix" functionality? Then I specify "Unix". -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"