The biggest obstacle is that syscall lacks Mkfifo on Solaris
(I've opened issue 8609 on Go for this).
Now I provide the same implementation for it as there is on Linux:
call Mknod.
github.com/cznic/fileutil needs IsEOF, so I've copied the plan9
(hole punching is stubbed out) implementation.
github.com/lib/pq: I've added solaris as a posix build tag.
Change-Id: Id667c488606a274849dc9b0af76abf1daeab5ad7
This patch:
1. Introduces a JSON schema for unix domain sockets (socket files).
2. Adds support for the new schema to pkg/schema.
3. Adds support for uploading and restoring sockets to camput and
camget respectively.
Depends on CL 2706 (https://camlistore-review.googlesource.com/2706/)
Change-Id: Ib0d6e9f9ebd348f55efee5a08cd774f3969d0760
This patch:
1. Introduces a JSON schema for FIFOs (named pipes).
2. Adds support for uploading and restoring FIFOs to camput and camget
respectively.
It includes tests for the basic schema support in pkg/schema and
integration tests for camput and camget.
This CL does not add FIFO support to the HTTP server and fs (cammount
support) code. Those will be addressed in a subsequent patch.
Change-Id: Iab926073c36e653d25e693a559178bea9bf19b9a