LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Copy and Overwrite (https://www.linuxquestions.org/questions/linux-newbie-8/copy-and-overwrite-198964/)

jrdioko 06-29-2004 12:22 AM

Copy and Overwrite
 
I tried to upgrade alsa-driver by installing 0.9.8 and removing 0.9.6, but 0.9.8 put all its files in /lib/modules/2.4.26 when the kernel I'm running is actually 2.4.22, and now my sound won't work. Since I don't believe I had a 2.4.26 folder before, I think I can solve the program by copying everything in 2.4.26 into the same place in the 2.4.22 folder, overwriting whatever is there. In otherwords, I want to copy /lib/modules/2.4.26/kernel/sound/acore/oss/snd-mixer-oss.o.gz to /lib/modules/2.4.22/kernel/sound/acore/oss/snd-mixer-oss.o.gz, and so on with every file in every directory within the 2.4.26 folder. In most cases, the respective folders and files in 2.4.22 won't exist so they'll be created from scratch, but in some cases they might. How can I accomplish this?

Thanks,
Johnathan

TigerOC 06-29-2004 03:29 AM

I don't think you can do that because the drivers are compiled against the 2.4.26 kernel and you'll get errors.

jrdioko 06-29-2004 11:46 AM

Ok, I guess I'll go upgrade the kernel then. Thanks!


All times are GMT -5. The time now is 04:05 PM.