Date: Fri, 22 Jun 2001 13:50:15 +0930 From: Greg Lehey <grog@FreeBSD.org> To: Bill Moran <wmoran@iowna.com> Cc: Drew Derbyshire <ahd@kew.com>, questions@FreeBSD.org Subject: Re: Stopping / removing vinum segments Message-ID: <20010622135015.Z57186@wantadilla.lemis.com> In-Reply-To: <3B32C5BE.D388DCF9@iowna.com>; from wmoran@iowna.com on Fri, Jun 22, 2001 at 12:12:46AM -0400 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010622135015.Z57186>