mvdir: where is it, how can I get it?

cc1 at valhalla.cs.ucla.edu cc1 at valhalla.cs.ucla.edu
Tue Sep 13 11:21:05 AEST 1988


Now for the $64 question:

Way back in V7, there was a command mv, and a command ln, and a command cp.
All three were different. mv would let you move any file around the
file system regardless of what type it was.

Now comes sys5. mv, cp, and ln are the same program (Why?).
mv will let you move a file around, but requires a directory to stay in the
same parent directory.

Why?

A program called "mvdir" was added, that lets you move a directory around
the file system.

Why the seperate program?

Now,

***** mvdir was NOT included on the 3b1 *****

Why not? WHere can I get it?

Now, its not the absolute end of the world. I can put in ~/bin the
following little thing

main(argc,argv) char **argv;
{
	link (argv[1], argv[2]);
	unlink (argv[1]);
}

, add some checks, and make it 6777, owned by root, in a directory only
I can use, but still, why?

			Michael



More information about the Comp.sys.att mailing list