Re: [Request for review] [RFC] Add label support for snapshots and subvols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Below is a demo of this new feature.
> ------------
>  btrfs fi label -t /btrfs/sv1 "Prod-DB"
>
>  btrfs fi label -t /btrfs/sv1
> Prod-DB
>
>  btrfs su snap /btrfs/sv1 /btrfs/snap1-sv1
> Create a snapshot of '/btrfs/sv1' in '/btrfs/snap1-sv1'
>  btrfs fi label -t /btrfs/snap1-sv1
>
>  btrfs fi label -t /btrfs/snap1-sv1 "Prod-DB-sand-box-testing"
>
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux