Project

General

Profile

Actions

Feature #14607

closed

Add CONS_GETDEV so we can see which port is /dev/console

Added by Toomas Soome 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Patch developed by Joshua M. Clulow.

Add function to get back end device id for /dev/console, so we can identify it and use device specific properties.

Testing done: build/install/boot, confirm proper console setup and functioning.

This feature is used by https://code.illumos.org/c/illumos-gate/+/2091 to identify serial port behind /dev/console.


Related issues

Related to illumos gate - Bug #14609: loader: os console in options menu should use first name from listClosedToomas Soome

Actions
Related to illumos gate - Feature #14608: ttymon should use tty-mode propertyClosedToomas Soome

Actions
Actions #1

Updated by Electric Monk 4 months ago

  • Gerrit CR set to 2090
Actions #2

Updated by Toomas Soome 4 months ago

  • Related to Bug #14609: loader: os console in options menu should use first name from list added
Actions #3

Updated by Toomas Soome 4 months ago

  • Description updated (diff)
Actions #4

Updated by Toomas Soome 4 months ago

  • Related to Feature #14608: ttymon should use tty-mode property added
Actions #5

Updated by Electric Monk 4 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit c542a624b7efda0b8123026500f05f430ff6c770

commit  c542a624b7efda0b8123026500f05f430ff6c770
Author: Joshua M. Clulow <josh@sysmgr.org>
Date:   2022-04-19T15:49:06.000Z

    14607 Add CONS_GETDEV so we can see which port is /dev/console
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF