diff options
author | Simon Rettberg | 2018-03-24 15:39:31 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-03-24 15:39:31 +0100 |
commit | f7a47fd6cbf541d3627215514eaf63f0b0e393ba (patch) | |
tree | 6a5d45adb35c6d3e90cf64d9589746a84d1dafbb /core/rootfs/rootfs-stage32/data/etc | |
parent | [etherwake] New module (diff) | |
download | mltk-f7a47fd6cbf541d3627215514eaf63f0b0e393ba.tar.gz mltk-f7a47fd6cbf541d3627215514eaf63f0b0e393ba.tar.xz mltk-f7a47fd6cbf541d3627215514eaf63f0b0e393ba.zip |
[rfs-stage32] Smarter handling of ID45; unify part detection; sort by size
- Partitions matching a certain ID will be sorted by size by the
get_all_with_id function, so in case you want only one by that type
you'll get the largest one.
- Partition detection is now done by querying udev for all the block
devices found in /dev which works well for both DOS and GPT.
- ID45 code now handles the cases where a partition was resized offline
and adjusts or recreates the file system accordingly. We also enforce
ext4 for ID45 now instead of acceping anything that appears to be
mountable.
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/etc')
-rw-r--r-- | core/rootfs/rootfs-stage32/data/etc/systemd/system/setup-partitions.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage32/data/etc/systemd/system/setup-partitions.service b/core/rootfs/rootfs-stage32/data/etc/systemd/system/setup-partitions.service index 6bb3a986..2cfad221 100644 --- a/core/rootfs/rootfs-stage32/data/etc/systemd/system/setup-partitions.service +++ b/core/rootfs/rootfs-stage32/data/etc/systemd/system/setup-partitions.service @@ -1,7 +1,7 @@ [Unit] Description=Setup local disk partitions (tmp, swap) DefaultDependencies=no -Before=basic.target +Before=basic.target tmp.target After=systemd-udev-settle.service Wants=tmp.target |