chiark / gitweb /
gpt-auto-generator: add basic auto-discovery of GPT partitions
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Aug 2013 08:13:45 +0000 (10:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Aug 2013 08:13:45 +0000 (10:13 +0200)
commit1a14a53cfded6e78c6e8dfb73fdff0039971d642
treed2dcc3df291667d0ccea70e582e85b366f38578e
parentbed2e820dba48591853547547a46ba4de04f86ad
gpt-auto-generator: add basic auto-discovery of GPT partitions

This adds a simple generator that is capable of automatically
discovering certain GPT partitions by their type UUID and mount/enable
them. This currently covers swap partitions and /home partitions, but is
expected to grow more features soon.

This currently doesn't handle LUKS encrypted /home.

This enables all swap partitions of type
0657fd6da4ab43c484e50933c84b4f4f, if found.

This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915
as /home, if it is found.
.gitignore
Makefile.am
TODO
src/gpt-auto-generator/gpt-auto-generator.c [new file with mode: 0644]