On Fri, Nov 02, 2012 at 05:28:01AM +0700, Fajar A. Nugraha wrote:
> On Fri, Nov 2, 2012 at 5:16 AM, cwillu <cwi...@cwillu.com> wrote:
> >>  btrfs fi label -t /btrfs/snap1-sv1
> >> Prod-DB-sand-box-testing
> >
> > Why is this better than:
> >
> > # btrfs su snap /btrfs/Prod-DB /btrfs/Prod-DB-sand-box-testing
> > # mv /btrfs/Prod-DB-sand-box-testing /btrfs/Prod-DB-production-test
> > # ls /btrfs/
> > Prod-DB  Prod-DB-production-test
> 
> 
> ... because it would mean possibilty to decouple subvol name from
> whatever-data-you-need (in this case, a label).
> 
> My request, though, is to just implement properties, and USER
> properties, like what we have in zfs. This seems to be a cleaner,
> saner approach. For example, this is on Ubutu + zfsonlinux:
> 
> # zfs create rpool/u
> # zfs set user:label="Some test filesystem" rpool/u
> # zfs get creation,user:label rpool/u
> NAME     PROPERTY    VALUE                  SOURCE
> rpool/u  creation    Fri Nov  2  5:24 2012  -
> rpool/u  user:label  Some test filesystem   local

   Don't we already have an equivalent to that with user xattrs?

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- I spent most of my money on drink, women and fast cars. The ---   
                      rest I wasted.  -- James Hunt                      

Attachment: signature.asc
Description: Digital signature

Reply via email to