Dual partition with one partition with cdfs format so that this partition appears as cd rom(write protected)
The CD-ROM partition (write protected) has to be created at factory (while manufacturing), the other partition works as a generic drive. One may choose to keep complete drive as CD-ROM or split one as CD-ROM & Generic Pen Drive.