From owner-freebsd-questions Sat Feb 1 2:23:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71F0D37B401 for ; Sat, 1 Feb 2003 02:23:50 -0800 (PST) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 070AF43F79 for ; Sat, 1 Feb 2003 02:23:49 -0800 (PST) (envelope-from bastill@adam.com.au) Received: (qmail 8398 invoked by uid 65534); 1 Feb 2003 10:23:43 -0000 Received: from 202.6.144.129 ( [202.6.144.129]) as user bastill@mail.adam.com.au by webmail.adam.com.au with HTTP; Sat, 1 Feb 2003 20:53:43 +1030 Message-ID: <1044095023.3e3ba02f81b4b@webmail.adam.com.au> Date: Sat, 1 Feb 2003 20:53:43 +1030 From: bastill@adam.com.au To: Bill Moran Cc: Giorgos Keramidas , Lowell Gilbert , freebsd-questions@FreeBSD.ORG Subject: Re: Ooops. References: <005601c2c8c5$47735b10$6501a8c0@grant> <1043981504.3e39e4c0b6e66@webmail.adam.com.au> <44znpinhl7.fsf@be-well.ilk.org> <1043983614.3e39ecfecd509@webmail.adam.com.au> <20030131201357.GA18381@gothmog.gr> <3E3ADA1B.5020304@potentialtech.com> In-Reply-To: <3E3ADA1B.5020304@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 202.6.144.129 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Bill Moran : > I've been quietly following this thread since it started and ... > I can't reproduce this behaviour. I've created and deleted I don't > know how many test directories and symlinks and I can't get it to > do what you're claiming it did. As root, try copying directory from one disk to another, then rm -rf directory from the copy. That seems to be what the two recent examples have in common. The only difference between the two experiences is that I was able to remove (eg) the copied bin directory without affecting the original, but suffered when trying to remove the copied home directory. I assumed (perhaps incorrectly) that the symlink attached to home was the cause. > He's absolutely correct. Without the _exact_ command that you used, > it's going to be very hard to figure out what went wrong. > Are you using a shell that keeps a command history (i.e. bash)? If > so, can you get us the exact command that you issued? Yes - use tcsh as root. Unfortunately the history only goes so far back and lots has happened since. Sorry. However, I'd be prepared to swear on a (small) stack of bibles that the command I issued was: rm -rf home This removed /slash/var/home from /dev/ad2 as I wished, but also removed the original /usr/home on /dev/ad0. I had RTFM because I knew rm was very powerful and that undeletion was "impossible". -rf is all that is required to delete a directory and any subdirectories therein, is it not? -- Brian ----------------------------------------------- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message