openzfs/zfs

It would be nice to have a 'safe mode' for zfs and zpool commands

Open

#4.134 aberto em 22 de dez. de 2015

Ver no GitHub
 (46 comments) (38 reactions) (0 assignees)C (1.703 forks)batch import
Type: Featuregood first issue

Métricas do repositório

Stars
 (9.908 stars)
Métricas de merge de PR
 (Mesclagem média 5d 21h) (62 fundiu PRs em 30d)

Description

I really don't like that I can mistype something and vaporize datasets, and even entire pools. I would like to propose a property defined for datasets, zvols and pools that basically says 'if this is set to ON, any destructive operation will require use of the -f flag'. Thinking of destroying datasets, zvols and pools. Maybe snapshots too? This could really be a totally userland abstraction. What do y'all think?

Guia do colaborador