From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,942b3184b8c0c422 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Platform portable support of heir. file systems Date: 1996/12/23 Message-ID: <1996Dec22.211827.1@eisner>#1/1 X-Deja-AN: 205488866 x-nntp-posting-host: eisner.decus.org references: <01bbec7f$453edcd0$24af1486@pc-phw> <1996Dec18.071612.1@eisner> <32B8508F.2B7D@online.no> <32BC1A02.3DAA@online.no> <1996Dec21.153129.1@eisner> x-nntp-posting-user: KILGALLEN x-trace: 851307514/13580 organization: LJK Software newsgroups: comp.lang.ada Date: 1996-12-23T00:00:00+00:00 List-Id: s In article , dewar@merv.cs.nyu.edu (Robert Dewar) writes: > Larry said > > "Even though we might all _wish_ there was an easy answer, > wishing does not make it so. Posix provides an approach > for those running under Unix-emulating subsystems, including > MVS Open Edition, but it does not provide transparent access > to the bulk of existing data on non-Unix systems. I do not > mean to slight the Posix committee(s), some tasks are just > too hard." > > > Actually, I think the Posix approach is just fine. Note that you do not > have to "emulate Unix" to be Posix compliant, just provide a set of > interfaces (which by the way is certainly not full Unix in any case). > > Manufacturers then make the choice of whether to try to be compliant > with this standard or not. By "emulate Unix", I meant that portion of Unix which must be emulated to comply with the Posix standards. Restricting this to a very narrow area of file name cases (for purposes of discussion), manufacturers of non-Unix operating systems tend to add a separate file system emulation in order to be able to support case-sensitive filenames. In general (VMS Posix, MVS Open Edition) the full Posix user has a separate little universe for storing and retrieving files, but does _not_ have the ability to access other files stored according to the traditions of the operating system in this fashion. There may be special utilities to do so, but they are not at all standard between manufacturers. This separate-but-compliant approach will work for some application purposes, but by no means all. (Consider a program to read all the traditional files on a system and check for some special trait.) > So using this apporach you meet half way at an abstract set of > interfaces representing a desired set of functionalities. If it is > possble to map an OS to this interface, then you do so, rather than > trying to make the top level abstraction handle direcly the quirks > of every possible operating system. Yes, and the Posix approach handles some cases well. I do not believe going further with a generalized approach would be fruitful. Those who need os-specific access (including me) will just have to do os-specific coding. Larry Kilgallen