written most (all?) of compunet_fs

Signed-off-by: Martin Evans <martindevans@gmail.com>