templatizing unix_drive, not tested