[bugs] [illumos gate - Feature #1163] zpool destroy should prompt user
illumos bugs
bugs at lists.illumos.org
Fri Jul 8 22:39:46 PDT 2011
Issue #1163 has been updated by Yuri Pankov.
Garrett D'Amore wrote:
> THIS IS A TERRIBLE IDEA.
>
> Zpool force avoids a bunch of checks. It should not be used just because you want to use scripting. Don't break the interface here.
I haven't said anything about existing 'force' behavior, what I meant is that we'll need an option to bypass interactive prompt if the feature was to be implemented.
----------------------------------------
Feature #1163: zpool destroy should prompt user
https://www.illumos.org/issues/1163
Author: Roy Sigurd Karlsbakk
Status: New
Priority: Normal
Assignee: sham pavman
Category:
Target version:
Difficulty: Medium
Tags: needs-triage
Hi all
Destroying a beadm will prompt the admin:
<pre>
root at mime:~# beadm destroy oi-likewise
Are you sure you want to destroy oi-likewise?
This action cannot be undone (y/[n]):
</pre>
In my opinion, changing zpool and perhaps zfs to do the same would be a jolly good idea....
roy
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the bugs
mailing list