Does RCS *have to* trash hard links?

Jerry Peek jdpeek at RODAN.ACS.SYR.EDU
Mon Jun 26 23:43:01 AEST 1989


It's true (isn't it?) that you can't use the Revision Control System on
files which have more than one link.  In other words, things like this:
	ln name1 name2
	ci -u name1
	co -l name1
will break the link between "name1" and "name2".

To get around this, I either use symbolic links (which eat disk space)
or I do things by hand with temporary files, "mv", and "co -p".

Has anyone hacked RCS (co and ci, especially) to handle this?  You
couldn't let 'ci' delete the working file, of course; the "-u" or "-l"
flag would have to be required (or implicit).  And all "co" would do is:
	cat new_revision > old_revision
so that old_revision would always exist.

--Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
  jdpeek at rodan.acs.syr.edu, jdpeek at sunris.bitnet
  +1 315 443-3995



More information about the Comp.unix.questions mailing list