On Saturday 08 December 2007, Yan Zheng wrote: > 2007/12/8, Christian Hesse <[EMAIL PROTECTED]>: > > Ok, as far as I can remember: > > > > $ mount -o loop /usr/portage.img /usr/portage/ > > [ sync data to the fs, run emerge, update meta database, etc. ] > > $ mount -o loop,subvol=. /usr/portage.img /mnt/tmp/ > > $ btrfsctl -s 2007-12-07 /mnt/tmp > > [ remember that I just created a new subvol, not a snapshot ] > > $ btrfsctl -s 2007-12-07-0 /mnt/tmp/default > > $ umount /mnt/tmp > > [ suspend and resume the system ] > > $ emerge sync > > It's seem you setup two difference loopback devices on the same image > file. Please try mount the image file this way. > > losetup /dev/loop0 /usr/portage.img > mount /dev/loop0 /usr/portage/ > mount -o subvol=. /dev/loop0 /mnt/tmp/
Yes, probably you are right. I will try again. -- Regards, Chris _______________________________________________ Btrfs-devel mailing list [email protected] http://oss.oracle.com/mailman/listinfo/btrfs-devel
