r/w -> rb/wb