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/module.conf | |
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/module.conf')
-rw-r--r-- | core/rootfs/rootfs-stage32/module.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage32/module.conf b/core/rootfs/rootfs-stage32/module.conf index 76df849e..e56b1df0 100644 --- a/core/rootfs/rootfs-stage32/module.conf +++ b/core/rootfs/rootfs-stage32/module.conf @@ -21,6 +21,10 @@ REQUIRED_BINARIES=" mkfs.ext3 mkfs.ext4 blkid + blockdev + dumpe2fs + resize2fs + fsck.ext4 modprobe insmod lsmod |