From owner-freebsd-current Tue May 2 17:08:42 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA21140 for current-outgoing; Tue, 2 May 1995 17:08:42 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA21134 ; Tue, 2 May 1995 17:08:27 -0700 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id RAA29184; Tue, 2 May 1995 17:08:22 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id RAA00305; Tue, 2 May 1995 17:08:21 -0700 Message-Id: <199505030008.RAA00305@corbin.Root.COM> To: asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) cc: mark@grondar.za, current@FreeBSD.org, thud-users@FreeBSD.org Subject: Re: mv? In-reply-to: Your message of "Tue, 02 May 95 16:24:28 PDT." <199505022324.QAA08164@silvia.HIP.Berkeley.EDU> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 02 May 1995 17:08:20 -0700 Sender: current-owner@FreeBSD.org Precedence: bulk > * >> >> mv work .. > * >> mv: rename work to ../work: Invalid argument > * > > * >Yeah. I've seen it too. I thought it was just me... > * > * It's not valid to move a directory into itself. > >I'm not sure what you are talking about. I was trying to move a >directory "work" into the parent directory. So, if we are in >"foo/bar", "foo/bar/work" is going to be "foo/work". Sorry, I agree that it shouldn't fail - I was thinking "mv work ." when I said the above. I tried to reproduce the problem here and couldn't. -DG