azurelinuxagent/common/osutil/default.py [1114:1123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def device_for_ide_port(self, port_id):
        """
        Return device name attached to ide port 'n'.
        """
        if port_id > 3:
            return None
        g0 = "00000000"
        if port_id > 1:
            g0 = "00000001"
            port_id = port_id - 2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



azurelinuxagent/common/osutil/freebsd.py [516:525]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def device_for_ide_port(self, port_id):
        """
        Return device name attached to ide port 'n'.
        """
        if port_id > 3:
            return None
        g0 = "00000000"
        if port_id > 1:
            g0 = "00000001"
            port_id = port_id - 2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



