chiark / gitweb /
gpt-auto-generator: honour read-only and no-auto flag from GPT data
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 00:01:56 +0000 (01:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 00:01:56 +0000 (01:01 +0100)
commitcca1dfddd4ce4357113663532696488427cc54e4
tree49e3c09d7438e0f1aa92d2f419f4bca723ff9cfd
parentf75cac3746efa4c3fb0b1dbc458c9ae0bf083a52
gpt-auto-generator: honour read-only and no-auto flag from GPT data

Similar to the read-only and no-automount flags of Microsoft Basic Data
Partitions, introduce our own flags. We map them to the same flag bits
as Microsoft's, to keep things simple.
src/gpt-auto-generator/gpt-auto-generator.c
src/shared/gpt.h