-
- Downloads
Fixes to FreeBSD ATA device recognition. I was making a bad assumption about
how to convert DEVNAME (ad0,ad1) to channel/unit number. If you have an ATA CD on say channel 0, device 1 (slave on first ATA channel) and hard drives on channel 0, unit 0 and channel 1, unit 0 (master on first 2 ATA channels), the names are still ad0, ad1 for the drives, and acd0 for the CD. So my magic of taking the digit and dividing by 2 doesn't work. Instead, we now scan through all ATA devices to match name. Thanks to Sean Kelly for discovering the flaw. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1105 4ea69e1a-61f1-4043-bf83-b5c94c648137
Please register or sign in to comment