Brian McGee
Brian McGee
For reference https://github.com/NixOS/nixpkgs/blob/dac9cdf8c930c0af98a63cbfe8005546ba0125fb/nixos/modules/installer/tools/nixos-generate-config.pl#L360-L547
We have a few methods for reading arrays from C. They are all identical except for the return type. Can we use generics to combine them? https://github.com/numtide/nixos-facter/blob/7f1b1c46cca170395b973434da2a21fd523e0c69/pkg/hwinfo/utils.go#L10-L56
https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L2138-L2141
Partial mapping. https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L579-L592 ## TODO - [ ] UUID
Near complete mapping. https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L2077-L2080 # TODO - [ ] What is the `i_alt` field and how to map it?
What is this model? It's mapped, but I'm unsure what it is / what a better name might be. https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L1816-L1826
For reference https://github.com/NixOS/nixpkgs/blob/dac9cdf8c930c0af98a63cbfe8005546ba0125fb/nixos/modules/installer/tools/nixos-generate-config.pl#L258-L263
Partial mapping. https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L2016-L2023 ## TODO - [ ] ISDN params
It is partially mapped, and there are some open TODOs related to clarifying the names of some of the fields. https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/hd/hd.h#L2087-L2090 ## TODO - [ ] Serial - [ ]...