Mike Gerdts wrote:
> On Thu, Jul 10, 2008 at 5:42 AM, Darren J Moffat <[EMAIL PROTECTED]> wrote:
>> Thoughts ?  Is this useful for anyone else ?  My above examples are some
>> of the shorter dataset names I use, ones in my home directory can be
>> even deeper.
> 
> Quite usable and should be done.
> 
> The key problem I see is how to deal with ambiguity.
> 
> # zpool create pool
> # zfs create pool/home
> # zfs set mountpoint=/home  pool/home
> # zfs create pool/home/adams  (for Dilbert's master)
> ...
> # zfs create pool/home/gerdts  (for Me)
> ...
> # zfs create pool/home/pool   (for Ms. Pool)
> ...
> # cd /home
> # zfs snapshot [EMAIL PROTECTED]
> 
> What just got snapshotted?

The dataset named "pool" only.  I don't see how that could be ambiguous 
now or with what I proposed.

If you said zfs snapshot -r [EMAIL PROTECTED] then all of them.

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

Reply via email to