On Thu, Nov 20, 2014 at 4:14 AM, Goffredo Baroncelli <kreij...@inwind.it> wrote:
> Supposing to have the following four subvolumes > > /root/ > /root/etc > /root/usr > /root/var > > When you need to snapshot, you should: > > # btrfs subvolume snapshot /root /backup-root-20141120 > # btrfs subvolume snapshot /root/etc /backup-root-20141120/etc > # btrfs subvolume snapshot /root/usr /backup-root-20141120/usr > # btrfs subvolume snapshot /root/var /backup-root-20141120/var > > So in order to remount an "old" filesystem, you need to make only > 1 mount. I like this layout better than either the openSUSE or Fedora layouts. It's easier to mount and old filesystem, where on Fedora each subvolume must be explicitly mounted. And it ensures old binaries aren't in the current mount path – kinda like running in a chroot – where on openSUSE the snapshots containing old binaries are in the current mount path. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html