Simultaneous mv's cause crash

Steve Campbell steve at dartvax.UUCP
Wed Jun 27 11:00:34 AEST 1984


Well, folks, here's one that's so simple that it's hard to belive it
could happen.  One of our users (while using learn) did the following:

mv file1 file2 & ; mv file3 file1

and guess what happened.  The system crashed with:

panic: ifree: freeing free inode

and so forth.  The damage had to be repaired with a manual fsck run.  Now
no real harm was done (other than inconveniencing some users), and granted
that the command issued might be said to tempt fate, but still, aren't
there some lockout mechanisms that should at least prevent file system
damage under these circumstances?  We run 4.2 on a 750, BTW.

Steve Campbell

	UUCP: {decvax|linus|cornell|astrovax}!dartvax!steve
	CSNET: steve at dartmouth     ARPA: steve%dartmouth at csnet-relay



More information about the Comp.unix.wizards mailing list