I am trying to create a bootable linux distro and I have basically everything I need, except for one little thing thats been buging me.

in order to use a loopback device on a CDrom, one must first figure out the drive designation of the CDrom. (hda,hdb etc...) then the easiest thing to do would be to make a symlinked /dev/cdrom to it.

my question is; how does knoppix figure out the designation of the users CDrom drive during boot?