From owner-freebsd-questions Thu Jun 21 21:20:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 8AE4837B401 for ; Thu, 21 Jun 2001 21:20:17 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 225FB6ACC3; Fri, 22 Jun 2001 13:50:15 +0930 (CST) Date: Fri, 22 Jun 2001 13:50:15 +0930 From: Greg Lehey To: Bill Moran Cc: Drew Derbyshire , questions@FreeBSD.org Subject: Re: Stopping / removing vinum segments Message-ID: <20010622135015.Z57186@wantadilla.lemis.com> References: <007701c0f6de$cef773b0$94cba8c0@xena> <3B2C2B84.8792D238@iowna.com> <000801c0f72b$f25931c0$94cba8c0@xena> <3B2CC068.2A0B6C01@iowna.com> <000801c0f748$ab47a880$94cba8c0@xena> <20010619112338.C58585@wantadilla.lemis.com> <002801c0fa6c$3d0f78d0$94cba8c0@xena> <20010622132151.X57186@wantadilla.lemis.com> <3B32C5BE.D388DCF9@iowna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B32C5BE.D388DCF9@iowna.com>; from wmoran@iowna.com on Fri, Jun 22, 2001 at 12:12:46AM -0400 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Friday, 22 June 2001 at 0:12:46 -0400, Bill Moran wrote: > Greg Lehey wrote: >> There's a good reason to use force here: you're damaging the >> structure, potentially causing data loss. If you have detach the >> objects first, you can remove them. But you'll need force to detach >> anything which makes a hole in a volume address space. > > Makes sense now (didn't before) > Perhaps a more informative error message under these circumstances would > be helpful? Something to the effect of: "Detaching will destroy data! > Use -f if you're sure." Yes, this would be a good idea. If somebody wants to write the code, I'll include it. >>> rm commands at all object levels and detach commands. All gave generic >>> "device busy errors", >> >> Yes, this is a feature, not a bug. > > For the same reason stated above? That makes sense. Perhaps a better > error message would be helpful to users in this circumstance as well. > "Removing this device will destroy data permanently! Use -f if you're > sure." Ditto Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message