Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site genrad.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!john From: john@genrad.UUCP (John P. Nelson) Newsgroups: net.unix-wizards,net.unix Subject: Re: unix file system Message-ID: <984@genrad.UUCP> Date: Fri, 26-Jul-85 16:10:32 EDT Article-I.D.: genrad.984 Posted: Fri Jul 26 16:10:32 1985 Date-Received: Sun, 28-Jul-85 05:35:42 EDT References: <3287@decwrl.UUCP> <95@ucbcad.UUCP> Reply-To: john@genrad.UUCP (John P. Nelson) Followup-To: net.unix Organization: GenRad, Inc., Bolton, Mass. Lines: 33 Xref: linus net.unix-wizards:11227 net.unix:4559 >> Some of us at Digital think we have found a basic problem with the UNIX >> file system for FORTRAN. The problem is that there is no place to put >> various kinds of information about the contents of the file. More >> specifically: > There is really no reasonable >way to put this into the filesysem itself without a lot of re-writing, >and I doubt many people think it is worth the trouble. The fact is that >fortran is a dying language, and it would be silly to make unix more >friendly to fortran at the expense of more trouble for people who use >modern languages. > > Wayne Well, this attitude is a bit extreme, but I really don't see why any of this is necessary. Why not have the fortran format file have a header describing the data contained within, and have the header started by a four byte magic number. Magic numbers are used now to indicate that a file is a binary executable, why not have a new magic number that describes the file as a fortran file? The argument that most (non-fortran) programs do not need the proposed extra filesystem information applies to information stored in a header as well. This would put the extra burden of responsibility on the fortran library, which would have to recognize ordinary files, and parse them differently than from "funny" files. This same extra step would have to take place anyway, except that the information would come from the filesystem, instead of from the file header. What advantage is there to having this information be "out-of-band" (i.e. not part of the file itself)? John P. Nelson (decvax!genrad!john)