[systemd-devel] [HEADS-UP] Discoverable Partitions Spec
Lennart Poettering
lennart at poettering.net
Fri Mar 7 10:26:03 PST 2014
Heya!
Since yesterday systemd in git can now discover root, /home, /srv and
swap partitions automatically based on GPT type GUIDs, thus making
/etc/fstab unnecessary for simple setups.
I have now put together something like a spec describing the logic
behind that, and what it is good for:
http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
It would be good if in the long run OS installers could adopt this and
use the right partition type GUIDs automatically, to make this discovery
work. For now however, you need to manually change the GPT type GUIDs of
your installation if you want to make use of this scheme.
The next step is to teach nspawn the same scheme. With that in place it
is sufficient to use the right GPT in your disk image and then you can
boot it on EFI and in nspawn and the right thing will happen each time.
Anyway, please have a look!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list