Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: Hard links to directories: why not? Message-ID: <3742@auspex.auspex.com> Date: 24 Jul 90 18:55:21 GMT References: <3724@auspex.auspex.com> <18468@rpp386.cactus.org> <1990Jul23.083256.17790@athena.mit.edu> Organization: Auspex Systems, Santa Clara Lines: 10 > Older versions of mv couldn't move files between partitions at all, >since rename() doesn't work between partitions. Newer versions first >attempt to use rename() to change the name of a file, and if that >fails because the rename() attempted to rename a file to a different >partition, than it uses the same method as cp to copy the file. I've used versions of "mv" that existed before "rename()" existed, and they did what you describe the "newer versions" as doing; they were standard "mv"s from standard distribution tapes. I seem to remember *all* versions of "mv" doing the latter, at least as far back as V7....