summaryrefslogtreecommitdiffstats
path: root/modules/dev.inc
Commit message (Collapse)AuthorAgeFilesLines
* [dev] Make some of the debug messages depend on $SLX_DEBUGSimon Rettberg2024-02-081-9/+9
|
* [dev] find_partitions: Limit search to /dev, no subdirsSimon Rettberg2024-01-301-1/+1
|
* [dev] Fix ro path expressionSimon Rettberg2024-01-301-1/+1
|
* [dev] find_partitions: Add --rw option to skip scanning ro devicesSimon Rettberg2024-01-291-1/+8
|
* [dev] Support >= 10 partitionsSimon Rettberg2022-10-191-3/+5
|
* [dev] Fix missing instance where we need to check for 0fSimon Rettberg2022-10-181-1/+2
|
* [dev] Add dev_swap_version: Returns version number of a swap partitionSimon Rettberg2022-07-251-0/+21
|
* [dev] dev_find_partitions: Workaround for missing PARTN/NAME on CentOS 7Simon Rettberg2022-04-201-1/+15
| | | | This is quick and dirty and only properly handles ASCII partition labels
* [dev] Silence some harmless errors/warningsSimon Rettberg2021-07-261-7/+7
|
* dev: Workaround for trailing spaces in busybox xxd outputSimon Rettberg2021-07-221-2/+2
|
* [dev] Add support for xxd without -eSimon Rettberg2021-07-021-0/+2
|
* [dev] dev_get_type = 0f is an extended partition too...Simon Rettberg2021-06-181-2/+5
|
* [dev] dev_find_paritions: Add debug output, better hex2bin supportSimon Rettberg2021-06-181-6/+59
|
* [dev] More sanity checks, fallback to GPT if MBR yields nothingSimon Rettberg2020-10-071-36/+49
|
* [dev] Add commentsSimon Rettberg2020-10-071-4/+20
|
* [dev] Implement raw partition scanner (MBR+GPT)Simon Rettberg2020-10-071-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.
* ModularizeSimon Rettberg2019-05-271-0/+49