Ticket #8947 (new enhancement)

Opened 5 years ago

Serial port raw mode should use O_APPEND for the file

Reported by: Shachar Owned by:
Priority: minor Component: other
Version: VirtualBox 4.0.8 Keywords: serial
Cc: Guest type: other
Host type: Linux


When setting a serial port to output to a file, the file should be opened with the O_APPEND flag. This allows the user to insert markers into the file (using "echo marker >> file" from the host machine) that will not be overwritten by virtualbox.

This change should literally be a one-liner.


Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use