One way to avoid running this as root is to create a separate device node with mknod(8) that a regular trusted user can access.
For convenience this device node’s name can contain the hostname of the corresponding guest:
$ ls -l /dev/ttyV2
crw------- 1 root wheel - 127, 2 Apr 18 14:22 /dev/ttyV2
$ ls -l /dev/tty-puffy
crw-rw---- 1 root stsp - 127, 2 May 16 21:15 /dev/tty-puffy
I’m using a T1000 with OpenBSD and several ldom guests, and it’s been great as a server.
The spinning disk is bit slow, but I can live with that – when it dies I’m gonna try SSDs.
I have a T5220 as well but there are compatibility issues with OpenBSD’s ldom implementation and the latest firmware for that machine. I hope to get that working at some point.
Thanks, Sevan, for posting and for the invite. And thanks, stsp for some additional info. One other interesting things I found out is that you can give a VM an entire disk and it seems pretty happy.
One way to avoid running this as root is to create a separate device node with mknod(8) that a regular trusted user can access. For convenience this device node’s name can contain the hostname of the corresponding guest:
I’m using a T1000 with OpenBSD and several ldom guests, and it’s been great as a server. The spinning disk is bit slow, but I can live with that – when it dies I’m gonna try SSDs.
I have a T5220 as well but there are compatibility issues with OpenBSD’s ldom implementation and the latest firmware for that machine. I hope to get that working at some point.
I miss those old t2000’s and solaris back in the day, they were such well designed bits of hardware.
Thanks, Sevan, for posting and for the invite. And thanks, stsp for some additional info. One other interesting things I found out is that you can give a VM an entire disk and it seems pretty happy.