Richard Fish schreef: > Holly Bostick wrote: > > >>so the correct syntax to access my burner would be >> >>cdrecord dev=0,0,0 whatever comes after that. >> >>The whole /dev/hdc thing is just not correct (it's "dev=" whatever). >>Check the man page for more info. >> >> >> > > > Actually Holly, both methods "should" work. I use dev=/dev/cdrw without > any trouble at all. > >>From what I remember reading, the kernel devs prefer this, because to > them, creating an artificial numbering system (bus, id, lun) for a bus > topography (IDE, SATA) that doesn't use it to be just silly. They > consider the whole ide-scsi thing to be an unnecessary hack. Plus, > identifying things by their dynamically-assigned address on a bus > doesn't work well in a hot-pluggable world. > > The cdrecord author prefers the dev=x,x,x syntax, because then the same > syntax is used to access all CD-R[W] drives on all platforms. > > Neither side seems willing to accept the other's viewpoint as valid. > > -Richard >
Fair enough, Richard. I'm sure that dev=/dev/hdc would likely work. However, it would have to be /dev/hdc (the original device name), because I cannot necessarily be sure that I will always have /dev/cdrw, for example. Atm, my DVD burner as hdc is symlinked to /dev/cdrom, /dev/cdrw, /dev/dvd and /dev/dvdr, so I could probably use any of those. But that's all udev's doing, and under other Linuxes, other versions of udev, or even with other drives, I'd have to check the symlinks every time to make sure that my DVD+R wasn't now *only* linked to /dev/dvd and /dev/dvdr, and no more to /dev/cdrom, and /dev/cdrw. Of course I'm sure that /dev/hdc would always work under all circumstances unless I physically moved the drive. But if I scan the bus and see what cdrecord thinks, then that will also always work. So I agree that both viewpoints are valid, but not once you start adding in the symlinks to the real device, because that's a distribution-specific config issue and not a 'base' kernel or program issue... and if you're distro-hopping or multi-booting, the most irritating thing is to have to remember that under X distro the command is one thing, and under Y distro, the command is another. To me, anyway. I have a hard enough time remembering CLI commands as it is :-) . Holly -- gentoo-user@gentoo.org mailing list