Hey Urs, by default setup-storage does not install in the default root of the filesystem, anyway. Installing in the root (as in not using a subvolume) would disable all sorts of btrfs features like snapshots.
When I'm home in about an hour, I'll send you an example configuration that will resemble what you seem to want. And in return you can tell me what is lacking in the documentation and what needs improvement :) Best regards Kerim On January 15, 2015 3:51:09 PM CET, Urs Ganse <urs.ga...@helsinki.fi> wrote: >Dear FAI people, > >I have a question about the recently added btrfs support, which is not >exactly clear to me from the existing documentation: > >I am installing systems with a single disk, of which one partition is >supposed to contain a btrfs file system. >To make updating easier, I'd like to have multiple subvolumes in that >filesystem, especially I'd like to have the system root in a non-/ >default subvolume (so that later on, I can snapshot that subvolume to >perform easily-rollback-able upgrades). > >How do I specify such a configuration in the setup-storage config? The >documentation only gives an example for btrfs lines with subvolumes >that >use raid configurations, but are not exactly clear about how to specify > >multiple subvolumes in the same partition. Also, is there a way to >specify the default subvolume here? > >The formal config file syntax description is missing any mention of the > >btrfs lines, too. > >Cheers, > >//Urs -- Sent from my phone. Please excuse my brevity.