mvdir, is or is not a bug?

allbery at ncoast.UUCP allbery at ncoast.UUCP
Mon Jan 26 16:52:34 AEST 1987


As quoted from <402 at yabbie.rmit.oz> by rcodi at yabbie.rmit.oz (Ian Donaldson):
+---------------
| If there is a better explanation of why mvdir was separated out from mv,
| I and probably many others are all ears.
+---------------

I was under the impression that it was done for the same reason that rmdir
isn't part of rm.  Under System III, mv could only move a directory from
one name to another if it stayed within the same parent directory.  System
V mv is more general; unfortunately, it now has to deal with `.' and `..'.
Written correctly, mv/mvdir could be used like rm/rmdir by ordinary users.
It is my hope that the separation of the two is a first step in doing this,
the next step being the trapping of illegal situations like that done by
rmdir and rm -r.

++Brandon
-- 
 ____   ______________
/    \ / __   __   __ \   Brandon S. Allbery	    <backbone>!ncoast!allbery
 ___  | /__> /  \ /  \    aXcess Co., Consulting    ncoast!allbery at Case.CSNET
/   \ | |    `--, `--,    6615 Center St. #A1-105 	   (... at relay.CS.NET)
|     | \__/ \__/ \__/    Mentor, OH 44060-4101     
\____/ \______________/   +1 216 781 6201



More information about the Comp.bugs.sys5 mailing list