eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
529 stars 144 forks source link

udev/udev-builtin-path_id.c: Add ATA support for builtin path_id #275

Open julianneswinoga opened 9 months ago

julianneswinoga commented 9 months ago

Taking the torch from @yodayox :smile: ! Fixes #242

Core of the work comes from this upstream commit https://github.com/systemd/systemd/commit/9b3278d90704416bfe51a05d5681caf99445fb2f , but needed to create the unported handle_scsi_ata()

The associated changes in 60-persistent-storage.rules have already been applied in https://github.com/eudev-project/eudev/commit/247724da450b3bb8ef8d1963288069941b5cd904

I also did some minor formatting changes (removing brackets) to match with upstream code now that we don't free(path).