openzfs/zfs

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

開放

#4,134 建立於 2015年12月22日

 (46 則留言) (38 個反應) (0 位負責人)C (1,703 個分叉)batch import
Type: Featuregood first issue

倉庫指標

星標
 (9,908 顆星)
PR 合併指標
 (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?

貢獻者指南