openzfs/zfs

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

Aperta

#4134 aperta il 22 dic 2015

 (46 commenti) (38 reazioni) (0 assegnatari)C (1703 fork)batch import
Type: Featuregood first issue

Metriche repository

Star
 (9908 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor