Ticket #1499: osol-default-cdrom-device2.patch

File osol-default-cdrom-device2.patch, 683 bytes (added by ptecza@…, 17 years ago)

Setting DEFAULT_CDROM_DEVICE both for new and older Solaris systems

  • configure

     
    57695769elif openbsd ; then
    57705770  default_cdrom_device="/dev/rcd0a"
    57715771elif sunos ; then
    5772   default_cdrom_device="/vol/dev/aliases/cdrom0"
     5772  if test -r "/cdrom/cdrom0" ; then
     5773    # Now Solaris uses HAL. The vold daemon, the volfs file system,
     5774    # and the volfs service have been removed.
     5775    default_cdrom_device="/cdrom/cdrom0"
     5776  else
     5777    # Backward compatibility with older Solaris systems
     5778    default_cdrom_device="/vol/dev/aliases/cdrom0"
     5779  fi
    57735780elif amigaos ; then
    57745781  default_cdrom_device="a1ide.device:2"
    57755782else