Strange file system error

Root Boy Jim rbj at dsys.ncsl.nist.gov
Tue Aug 1 08:46:26 AEST 1989


? From: Chris Torek <chris at mimsy.uucp>

? The other possible way to remove it is to use /etc/unlink (if you have
? it; if not, compile a one-line C program and run that).

? 	main() { exit(unlink("/the/bad/directory")); }

A more general version is:

 	main(c,v) char *v[]; { exit(c == 2 ? unlink(v[1]) : -1); }

Its companion program, `link', is:

 	main(c,v) char *v[]; { exit(c == 3 ? link(v[1],v[2]) : -1); }

? In any case, complain to Apple.

And when you do, don't forget to mention The Lawsuit.

? In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
? Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris

	Root Boy Jim
	Have GNU, Will Travel.



More information about the Comp.unix.wizards mailing list