Home
last modified time | relevance | path

Searched refs:partitions (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/shared/
Ddissect-image.c413 m->partitions[PARTITION_ROOT] = (DissectedPartition) { in dissect_image()
786 if (m->partitions[designator].found) { in dissect_image()
793 … strverscmp_improved(m->partitions[designator].label, label) >= 0) in dissect_image()
796 dissected_partition_done(m->partitions + designator); in dissect_image()
822 m->partitions[designator] = (DissectedPartition) { in dissect_image()
866 if (m->partitions[PARTITION_XBOOTLDR].found) in dissect_image()
884 m->partitions[PARTITION_XBOOTLDR] = (DissectedPartition) { in dissect_image()
902 if (m->partitions[PARTITION_ROOT].found) { in dissect_image()
905 m->partitions[PARTITION_ROOT_SECONDARY].found = false; in dissect_image()
906 m->partitions[PARTITION_ROOT_SECONDARY_VERITY].found = false; in dissect_image()
[all …]
Ddissect-image.h213 DissectedPartition partitions[_PARTITION_DESIGNATOR_MAX]; member
/systemd-251/src/test/
Dtest-loop-block.c69 if (!dissected->partitions[d].found) in thread_func()
73 dissected->partitions[d].node, in thread_func()
74 dissected->partitions[d].fstype, in thread_func()
78 assert_se(dissected->partitions[PARTITION_ESP].found); in thread_func()
79 assert_se(dissected->partitions[PARTITION_ESP].node); in thread_func()
80 assert_se(dissected->partitions[PARTITION_XBOOTLDR].found); in thread_func()
81 assert_se(dissected->partitions[PARTITION_XBOOTLDR].node); in thread_func()
82 assert_se(dissected->partitions[PARTITION_ROOT].found); in thread_func()
83 assert_se(dissected->partitions[PARTITION_ROOT].node); in thread_func()
84 assert_se(dissected->partitions[PARTITION_HOME].found); in thread_func()
[all …]
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c723 if (m->partitions[PARTITION_SWAP].found) { in enumerate_partitions()
724 k = add_swap(m->partitions + PARTITION_SWAP); in enumerate_partitions()
729 if (m->partitions[PARTITION_XBOOTLDR].found) { in enumerate_partitions()
730 k = add_xbootldr(m->partitions + PARTITION_XBOOTLDR); in enumerate_partitions()
735 if (m->partitions[PARTITION_ESP].found) { in enumerate_partitions()
736 k = add_esp(m->partitions + PARTITION_ESP, m->partitions[PARTITION_XBOOTLDR].found); in enumerate_partitions()
741 if (m->partitions[PARTITION_HOME].found) { in enumerate_partitions()
742 … k = add_partition_mount(m->partitions + PARTITION_HOME, "home", "/home", "Home Partition"); in enumerate_partitions()
747 if (m->partitions[PARTITION_SRV].found) { in enumerate_partitions()
748 … k = add_partition_mount(m->partitions + PARTITION_SRV, "srv", "/srv", "Server Data Partition"); in enumerate_partitions()
[all …]
/systemd-251/docs/
DDISCOVERABLE_PARTITIONS.md10 `/home/`, `/srv/`, `/var/` and `/var/tmp/` and the swap partitions based on
14 enable automatic discovery of partitions and their intended mountpoints.
16 defining one UUID for file system/data partitions and another one for swap
17 partitions. With this specification, we introduce additional partition types
20 * OS installers can automatically discover and make sense of partitions of
31 descriptive information about partitions tables.
154 | _Swap_ | `0657fd6d-a4ab-43c4-84e5-0933c84b4f4f` | Swap, optionally in LUKS | All swap partitions
160partitions. This partition type should be used for all partitions that carry Linux file systems. T…
163 LVM partitions. The definitions of those GPT types is outside of the scope of
171 For partitions of the types listed above it is recommended to use
[all …]
DBUILDING_IMAGES.md163 1. Additional partitions should be created, that make no sense to ship
164 pre-built in the image. For example `/tmp/` or `/home/` partitions, or even
167 2. Additional partitions should be created that shall function as A/B
168 secondaries for partitions shipped in the original image. In other words: if
176 4. File systems in uninitialized partitions should be formatted with a file
194 partitions or adding in partitions taking the backing storage size into
195 account. It can also encrypt partitions automatically it creates (even bind
196 to TPM2, automatically) and populate partitions from various sources. It
198 incompletely set up partitions around.
205 partitions can set GPT partition flag 59 to request this behaviour, see the
DPORTING_TO_NEW_ARCHITECTURES.md27 partitions. Use `systemd-id128 new -p` to generate new suitable UUIDs you
DHOME_DIRECTORY.md125 medium. (Moreover, it allows embedding additional partitions later on, for
DBOOT_LOADER_SPECIFICATION.md304 by design, as referencing other partitions or devices would require a
306 read from other partitions/disks the boot loader can do this in its own native
DPORTABLE_SERVICES.md171 of properly marked partitions following the
/systemd-251/src/partition/
Drepart.c176 LIST_FIELDS(Partition, partitions);
189 LIST_HEAD(Partition, partitions);
289 LIST_REMOVE(partitions, context->partitions, p); in partition_unlink_and_free()
330 while (context->partitions) in context_free()
331 partition_unlink_and_free(context, context->partitions); in context_free()
378 LIST_FOREACH(partitions, p, context->partitions) { in context_drop_one_priority()
397 LIST_FOREACH(partitions, p, context->partitions) { in context_drop_one_priority()
576 LIST_FOREACH(partitions, p, context->partitions) { in context_allocate_partitions()
620 LIST_FOREACH(partitions, p, context->partitions) { in context_sum_weights()
685 LIST_FOREACH(partitions, p, context->partitions) { in context_grow_partitions_phase()
[all …]
/systemd-251/src/dissect/
Ddissect.c468 …printf(" Use As: %s bootable system for UEFI\n", COLOR_MARK_BOOL(m->partitions[PARTITION_ESP].f… in action_dissect()
522 … JSON_BUILD_PAIR("useBootableUefi", JSON_BUILD_BOOLEAN(m->partitions[PARTITION_ESP].found)), in action_dissect()
540 DissectedPartition *p = m->partitions + i; in action_dissect()
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-persistent-storage.rules12 # ignore partitions that span the entire disk
15 # for partitions import parent information
/systemd-251/rules.d/
D60-persistent-storage.rules12 # ignore partitions that span the entire disk
15 # For partitions import parent disk ID_* information, except ID_FS_*.
/systemd-251/
DTODO539 version of a specific partition type, in particular where related partitions
571 * introduce /dev/disk/root/* symlinks that allow referencing partitions on the
735 for "hibernate" partitions, that are exactly like swap partitions but only
1653 * systemd-repart: allow sizing partitions as factor of available RAM, so that
1654 we can reasonably size swap partitions for hibernation.
1669 * systemd-repart: allow disabling growing of specific partitions, or making
1673 absence of other partitions for trusted boot environments
DNEWS622 LUKS2 encrypted swap partitions.
625 extended with support for root and /usr/ partitions for the majority
633 a new set of partitions that may carry PKCS#7 signatures for Verity
634 partitions, encoded in a simple JSON format. This implements a simple
1470 suitable root or /usr/ partitions exist in the image, then a simple
1474 versions are dropped into partitions whose label is then updated with
1521 partitions to create mount point directories for other partitions
1523 root, /home/, and /var/ partitions, may set MakeDirectories=yes to
1536 GPT partition flags for the created partitions: this is useful for
1537 marking newly created partitions as read-only, or as not being
[all …]