On Wed, 2009-11-18 at 10:47 -0500, Chris Ball wrote:
Also, what is the mechanism to configure this? Just a simple command from btrfs-progs (best)? Or does it require surgery to /etc/fstab and/or the initramfs (bad)?
Josef's been thinking about exactly that -- the current situation requires you to add subvol=<snapshot-name> to the mount args, which indeed would require you to change fstab (for non-rootfs) or to add a rootflags= argument to the grub menu (for rootfs). He's considering changing the btrfs disk format to add a "default subvolume for this fs" field that would lead us to a simple btrfsctl command for setting that field instead. I agree that his solution's what we'd like.
OK, sounds good to me. I'm subscribed to the btrfs-list so I guess I'll just sit around and wait for Josef's patch to show up.
Thanks, David