Language Selection

English French German Italian Portuguese Spanish

Using pipes as serial port for VirtualBox

Filed under
HowTos

While trying to reproduce and debug UnionFS bugs with VirtualBox, I needed to extract a copy of the call traces. Screenshots are not easily usable, so I tried the "serial ports" feature of VirtualBox.

An "Host Pipe" mode is available, to redirect serial port output to a pipe. But it didn't work by using a named pipe, created with mkfifo. Actually, if set to create the pipe, VirtualBox will create a UNIX local domain socket.

$ file /tmp/vbox-pipe
/tmp/vbox-pipe: socket

The "pipe" name is a bit ambiguous, it's easy to understand it as a fifo, not a socket (and actually, the Windows implementation uses a named pipe in VirtualBox...)

More Here




More in Tux Machines

Linux Mint Developers Launched a New Project Called mint-dev-tools

Not only are the Linux Mint developers working on the operating systems, they are also making sure that third-party developers have a say in their project as well. That is why they have started to work on a new project called "mint-dev-tools," which is aimed specifically at devs, as the name implies. Read more

HTC One E9 Specs News, Rumors: New 'Cheaper' Android Flagship Appears In Live Images

After the One M9 that was announced earlier this month, it looks like there are more devices from the Taiwanese manufacturer than everyone expected. First on the list is the One M9 Plus, which is already expected to make an appearance in an April 8 event in China. Read more

Why Android 5.1 Is A Step Up From Android 5.0

One of the major modifications in Android's newest system update, revolves around the 'quick settings' menu. For those who aren't aware, sliding down the notifications bar twice(or once with two fingers), brings up a quick settings menu, within which one can toggle settings like screen brightness, WiFi, Bluetooth, a flashlight, airplane mode, auto rotate settings, location, screen casting etc. Additionally, in Android 5.0, activating a specific toggle led to it being added to the quick settings menu, the first time they're activated. In Android 5.1 however, it is possible to hide these icons with a long press. Read more