Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [dev] Make some of the debug messages depend on $SLX_DEBUG | Simon Rettberg | 2024-02-08 | 1 | -9/+9 |
| | |||||
* | [dev] find_partitions: Limit search to /dev, no subdirs | Simon Rettberg | 2024-01-30 | 1 | -1/+1 |
| | |||||
* | [dev] Fix ro path expression | Simon Rettberg | 2024-01-30 | 1 | -1/+1 |
| | |||||
* | [dev] find_partitions: Add --rw option to skip scanning ro devices | Simon Rettberg | 2024-01-29 | 1 | -1/+8 |
| | |||||
* | [dev] Support >= 10 partitions | Simon Rettberg | 2022-10-19 | 1 | -3/+5 |
| | |||||
* | [dev] Fix missing instance where we need to check for 0f | Simon Rettberg | 2022-10-18 | 1 | -1/+2 |
| | |||||
* | [dev] Add dev_swap_version: Returns version number of a swap partition | Simon Rettberg | 2022-07-25 | 1 | -0/+21 |
| | |||||
* | [dev] dev_find_partitions: Workaround for missing PARTN/NAME on CentOS 7 | Simon Rettberg | 2022-04-20 | 1 | -1/+15 |
| | | | | This is quick and dirty and only properly handles ASCII partition labels | ||||
* | [dev] Silence some harmless errors/warnings | Simon Rettberg | 2021-07-26 | 1 | -7/+7 |
| | |||||
* | dev: Workaround for trailing spaces in busybox xxd output | Simon Rettberg | 2021-07-22 | 1 | -2/+2 |
| | |||||
* | [dev] Add support for xxd without -e | Simon Rettberg | 2021-07-02 | 1 | -0/+2 |
| | |||||
* | [dev] dev_get_type = 0f is an extended partition too... | Simon Rettberg | 2021-06-18 | 1 | -2/+5 |
| | |||||
* | [dev] dev_find_paritions: Add debug output, better hex2bin support | Simon Rettberg | 2021-06-18 | 1 | -6/+59 |
| | |||||
* | [dev] More sanity checks, fallback to GPT if MBR yields nothing | Simon Rettberg | 2020-10-07 | 1 | -36/+49 |
| | |||||
* | [dev] Add comments | Simon Rettberg | 2020-10-07 | 1 | -4/+20 |
| | |||||
* | [dev] Implement raw partition scanner (MBR+GPT) | Simon Rettberg | 2020-10-07 | 1 | -20/+132 |
| | | | | | | | | | | Relying in udev has proven unsuitable time and time again. Sometimes after switchroot, it loses information about partitions that was already present in the initramfs. When an MBR partition contains a filesystem that is larger than the partition, the udev info is missing the MBR partition type from its output (observed with NTFS at least). As the kernel doesn't expose the mbr type and gpt type GUID directly in sysfs, we implement our own crude MBR and GPT parsers. In ash. | ||||
* | Modularize | Simon Rettberg | 2019-05-27 | 1 | -0/+49 |