[bugs] [illumos gate - Feature #1163] zpool destroy should prompt user

illumos bugs bugs at lists.illumos.org
Fri Jul 8 10:40:06 PDT 2011


Issue #1163 has been updated by sham pavman.


Well on second thought do we really need this as a feature.
Reason being there are a lot of scripts that that currently are written to work with only "zpool destroy"/ "zfs destroy" [ without user interaction ].
There is a "very good" possibility that these might break a lot of tasks elsewhere.


----------------------------------------
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