openzfs/zfs

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

Open

#4,134 创建于 2015年12月22日

在 GitHub 查看
 (46 评论) (38 反应) (0 负责人)C (1,703 fork)batch import
Type: Featuregood first issue

仓库指标

Star
 (9,908 star)
PR 合并指标
 (平均合并 5天 21小时) (30 天内合并 62 个 PR)

描述

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?

贡献者指南