From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,a85ed768b07f910e X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,a85ed768b07f910e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,b7f6396245079350 X-Google-Attributes: gid102b75,public From: jordan@Starbase.NeoSoft.COM (Jordan Henderson) Subject: Re: File versions [was Re: Galaxies] Date: 1997/06/04 Message-ID: <5n58uj$pu9@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 246202001 References: <5n2hll$a8s@Starbase.NeoSoft.COM> <5n3uou$aca@news2.zippo.com> Organization: NeoSoft, Inc. +1 713 968 5800 Newsgroups: comp.arch,comp.os.vms,comp.sys.dec In article <5n3uou$aca@news2.zippo.com>, Greg Lindahl wrote: >jordan@Starbase.NeoSoft.COM (Jordan Henderson) writes: > >> I HAVE done system administration on UNIX and I certainly do remember >> times when I wanted that last copy of a configuration file, or times >> when two people were editing the same file and one of them clobbered >> the others. vipw is a stupid kludge. In what way is not having versions >> an advantage? > >You don't keep your system configuration files under RCS on Unix? Your >choice; the OS didn't make you do it. You don't keep historical tars >of your system configuration files on Unix? Your choice; the OS didn't >make you do it. These 2 schemes are used by mose clue-full Unix admins. Well, I kept the yp stuff under RCS. But, there's always a temptation to make a quick change here or there without also checking it in. Of course, if we were all disciplined then there would be less problems. I note that you yourself didn't have the discipline not to type PURGE as a reflex. Sure, revision control has advantages to file versioning. And file versioning can have advantages over revision control. Why not have both? > >As for multiple editing, most modern Unix editors have sufficient >workarounds to detect it most of the time. nvi and emacs, for example, >double check the file modification time at first change and before >saving. > OK, so various applications can help here, so what? I suppose we need a cp command that also keeps a log so that when you copy /etc/hosts to a temp directory and then back it checks for you and makes sure you don't overwrite the one someone just edited in the mean time. >I never said versions were not an advantage. I merely said that other >systems have similar (but not identical) features, and I personally >don't think the VMS scheme is the best one. Your mileage may vary. Similar perhaps. I would say the other systems have features that have overlapping advantages with file versioning. What specifically is the _disadvantage_ to keeping versions? I suppose now that so many editor applications have patchworked around the problem of not having file versions and that we now have advanced file systems like Plan 9, etc. simple versioning may seem to be outdated. These new file systems are all rather recent developments and how many people REALLY use these? Maybe 1% (optimistically) of the installed base of UNIX systems? Of course, if VMS gets some of these capabilities (Spiralog may have something like this eventually, for example), then VMS will have a superset of the capabilities out there because it will have simple versioning too. I still think that simple file versioning is a big win for application log files. You get a record of when the application started (or restarted) and separate manageably-sized logfiles for each execution lifetime. Sometimes a simple solution is the best. > >-- g -Jordan Henderson jordan@neosoft.com