pgctl: support readonly and readwrite devices