On 03/28/10 12:12, Tim Haley wrote:
I am sponsoring the following fast-track on behalf of myself.  This
case introduces a new zfs sub-command for describing differences
between snapshots in a zfs hierarchy.  A delegated permission and
read-only system attribute are also introduced to support the
sub-command.  The case requests micro/patch binding.

Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
This information is Copyright 2010 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
         zfs diff
    1.2. Name of Document Author/Supplier:
         Author:  Tim Haley
    1.3  Date of This Document:
        28 March, 2010

4. Technical Description

        There is a long-standing RFE for zfs to be able to describe
        what has changed between the snapshots of a dataset.
        To provide this capability, we propose a new 'zfs diff'
        sub-command.  When run with appropriate privilege the
        sub-command describes what file system level changes have
        occurred between the requested snapshots.  A diff between the
        current version of the file system and one of its snapshots is
        also supported.

        Five types of change are described:

        o    File/Directory modified
        o    File/Directory present in older snapshot but not newer
        o    File/Directory present in newer snapshot but not older
        o    File/Directory renamed
        o    File link count changed

        Diffs can be performed if the user is delegated the "diff"
        permission.  The "diff" permission is being introduced by this
        case.  Diffs can also be performed without the "diff"
        permission, if the user has appropriate privilege.  For diffs
        between existing snapshots, the necessary privilege is
        {PRIV_SYS_CONFIG}.  For diff between the current file system
        and a snapshot {PRIV_SYS_MOUNT} is also necessary.

        Also introduced by this case is a system attribute on zfs files
        called 'generation'.  This attribute is part of the
        XATTR_VIEW_READONLY described in PSARC 2007/315.  It is
        generated automatically by the ZFS module.

Does "zfs diff" work between different versions of zfs filesystems?
If so, what are the restrictions?

The documentation for "zfs upgrade" isn't clear on if you can
upgrade a filesystem without upgrading its snapshot or vice
versa.

What commitment level are you seeking for the subcommand?
And its output?

Darren

_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to