> What about having dedicated commands "destroysnapshot", "destroyclone",
> or "remove" (less dangerous variant of "destroy") that will never do
> anything but remove snapshots or clones? Alternatively having something
> along the lines of "zfs destroy --nofs" or "zfs destroy --safe".

Another option is to allow something along the lines of:

zfs destroy snapshot:/path/to/[EMAIL PROTECTED]

Where the use of "snapshot:" would guarantee that non-snapshots are not
affected.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to