Hi, I'd like to use cdrecord on the command line. I'm currently reading the relevant chapter in Carla Schroder's "Linux Cookbook". Unfortunately, some of the tricks and hints included in the book don't seem to work the same way on a standard CentOS 5 install. 1) Am I supposed to be root to use cdrecord and burn an .iso file? 2) How do I specify a device? 'cdrecord -scanbus' doesn't seem to work. Say my CD burner is /dev/hdc, would 'cdrecord dev=/dev/hdc' be the correct way to address it? Cheers, Niki
] On Sun, 2009-04-12 at 13:49 +0200, Niki Kovacs wrote:> Hi, > > I'd like to use cdrecord on the command line. I'm currently reading the > relevant chapter in Carla Schroder's "Linux Cookbook". Unfortunately, > some of the tricks and hints included in the book don't seem to work the > same way on a standard CentOS 5 install. > > 1) Am I supposed to be root to use cdrecord and burn an .iso file? > > 2) How do I specify a device? 'cdrecord -scanbus' doesn't seem to work. > Say my CD burner is /dev/hdc, would 'cdrecord dev=/dev/hdc' be the > correct way to address it?Linux has brogressed a lot in this area since cdrecord first began. Recentl (for me) it looks like the SCSI bus scan is not reliable. But using the standard /dev/h[abcd] could. However, you should have a link called /dev/cdrom. Use that if it's there. Be aware that you can config this stuff in /etc/cdrecord.conf and not have to put it on the command line, after testing is completed.> > Cheers, > > Niki > <snip sig stuff>HTH -- Bill
At Sun, 12 Apr 2009 13:49:03 +0200 CentOS mailing list <centos at centos.org> wrote:> > Hi, > > I'd like to use cdrecord on the command line. I'm currently reading the > relevant chapter in Carla Schroder's "Linux Cookbook". Unfortunately, > some of the tricks and hints included in the book don't seem to work the > same way on a standard CentOS 5 install. > > 1) Am I supposed to be root to use cdrecord and burn an .iso file?Yes and no. Depends on the permissions of the recording device's /dev/ file. Probably recomended that you run as root. This also allows for near real time scheduling.> > 2) How do I specify a device? 'cdrecord -scanbus' doesn't seem to work. > Say my CD burner is /dev/hdc, would 'cdrecord dev=/dev/hdc' be the > correct way to address it? > > Cheers, > > Niki > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
Niki Kovacs wrote:> Hi, > > I'd like to use cdrecord on the command line. I'm currently reading the > relevant chapter in Carla Schroder's "Linux Cookbook". Unfortunately, > some of the tricks and hints included in the book don't seem to work the > same way on a standard CentOS 5 install. > > 1) Am I supposed to be root to use cdrecord and burn an .iso file?I've found it works much better if you are root.> > 2) How do I specify a device? 'cdrecord -scanbus' doesn't seem to work. > Say my CD burner is /dev/hdc, would 'cdrecord dev=/dev/hdc' be the > correct way to address it?cdrecord -dev=/dev/hdc -speed=24 -dao -pad file.iso (of course your options may vary) Note for SATA burners, /dev/scd0 is probably what you want. For PATA/ATAPI (what it sounds like you have) then /dev/hdc probably is best - I haven't burned an old ATA burner in a long time.