Wednesday, October 16, 2013

Writing Files to CD-Rom

www.unixbabuforum.inDoes anyone know how to write a file or directory to the cdrom on a B2600 workstation? the cdrom's definition is vendor: TEAC 
product id: DV-28E-C 
type: CD-ROM 
size: 0 Kbytes 
bytes per sector: 0 
rev level: C.4D 
blocks per disk: 0 
ISO version: 0 
ECMA version: 0 
ANSI version: 2 
removable media: yes 
response format: 2 

some commands would be great to backup certain files and/or directories

www.unixbabuforum.inI think the best thing to do would be to locate precompiled binaries for cdrecord and possibly cdrtools. If they're not out there somewhere, you could compile the source using the gcc compiler. You're probably running 11.0 or 11i version 1, right? The command line for cdrecord would be: 
cdrecord -v -speed=4 -dev=0,0,0 -fs=0 <filename you want to record to the cd> 

You'll want to check the device (dev=0,0,0) id and enter the right one for your workstation

www.unixbabuforum.inI don't have one of that particular model, but if it really is a CD-ROM, you can not write to it at all. 

The "RO" part of CD-ROM stands for read-only. In other words, the drive doesn't have "write" capability. The first thing you would need to do is replace the drive with a CD-RW drive.


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM