João Borsoi Soares kirjoitti 09.12.2002 kello 12:10: > I've successfully installed my cd-writer and now my cdrom is at > /dev/scd0. I manually changed /dev/cdrom but at boot it is changed back > to /dev/hdd. How can I keep my change? I think there is something to do > with MAKEDEV and /etc/makedev.d/ directory, but I couldn't find out > what I should change.
Have read the linux CD-Writing HOWTO. I have pasted some of it below: http://wt.xpilot.org/publications/linux/howtos/cd-writing/html/CD-Writing-2.html ***************************************************************************************************** The device file name representing your CD-Writer has to be passed to the driver in the Linux kernel. Example: hdb=ide-scsi. Such a setting should be added to lilo.conf or chos.conf if the driver is statically compiled into your kernel, which seems to be the most common setup. If you need to pass more than one parameter to the kernel, then seperate them with spaces (like shown in the chos example). The next two listings show example configurations containing more lines than just the relevant append-line. Please note the append- and cmdline-entries are image-specific (ie. don't add them immediatly at the top). image=/boot/zImage-2.2.14 label=Linux read-only append="hdb=ide-scsi" Listing: Example configuration for lilo (/etc/lilo.conf) linux "Linux 2.1.14" { image=/boot/zImage-2.0.37 cmdline= root=/dev/hda5 readonly hdb=ide-scsi } Listing: Example configuration for chos (/etc/chos.conf) If the driver for IDE/ATAPI CD-ROMs is loaded as a module, then the above won't make any difference to you, but make sure you include the options-line from the next listing. The last three lines of that listing are generally suggested to further automate the loading of the required modules. options ide-cd ignore=hdb # tell the ide-cd module to ignore hdb alias scd0 sr_mod # load sr_mod upon access of scd0 #pre-install ide-scsi modprobe imm # uncomment for some ZIP drives only pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi Listing: Example configuration for /etc/modules.conf *********************************************************************************************************** If I understood your problem correctly the above should help. If I did not, apologies for wasting your time. t.irvine ............................................................ Maksuton sähköposti aina käytössä http://luukku.com Kuukausimaksuton MTV3 Internet-liittymä www.mtv3.fi/liittyma -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list