From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <14ec7b180901042124v45e6e5a0x4a9f405f78b4e49b@mail.gmail.com> Date: Sun, 4 Jan 2009 22:24:29 -0700 From: "andrey mirtchovski" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <1231131954.11463.459.camel@goose.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1a605cf7ccd9e5ba7aaf6f3ad42e0f4b@terzarima.net> <140e7ec30901031403y66a3d67epac5a9800026e7609@mail.gmail.com> <1231131954.11463.459.camel@goose.sun.com> Subject: Re: [9fans] Changelogs & Patches? Topicbox-Message-UUID: 7988e93c-ead4-11e9-9d60-3106f5b1d025 > Well, I guess I really got spoiled by ZFS's ability to do things like > $ zfs snapshot pool/projects/foo@YourTextGoesHere at the console type "snap". if you're allowing snaps to be mounted on the local fs then the equivalent would be "mkdir /YourTextGoesHere; bind /n/dump/... / /YourTextGoesHere". note that zfs restricts where the snapshot can be mounted :p venti snapshots are, by default, read only. > $ zfs clone pool/projects/foo@YourTextGoesHere pool/projects/branch that's as simple as starting a new fossil with -f 'somehex', where "somehex" is the score of the corresponding snap. this gives you both read-only snapshots, and as many clones as you wish. note that you're cheating here, and by quite a bit: - snapshots are read only and generally unmountable (unless you go through the effort of making them so by setting a special option, which i'm not sure is per-snapshot) - clones can only be created off of snapshots - clones are read-writable but they can only be mounted within the /pool/fs/branch hierarchy. if you want to share them you need to explicitly adjust a lot of zfs settings such as 'sharenfs' and so on; - none of this can be done remotely - libzfs has an unpublished interface, so if one wants to, say, write a 9p server to expose zfs functionality to remote hosts they must either reverse engineer libzfs or use other means. so, while i'm sure you enjoy zfs quite a bit, for others used to plan9's venti/fossil way of doing things zfs can be quite a pain.