LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mknod (https://www.linuxquestions.org/questions/linux-software-2/mknod-312392/)

Infinite_Pizza 04-12-2005 08:54 AM

mknod
 
I am just wondering how to make mknod permanent , I know once u create it in Gentoo it will be permanent but how about mandrake , whats the normal way of doing it ? or I have to make a startup script ? like in rc.local ?
====================================
# mkdir -p /dev/cpu/0
# mknod /dev/cpu/0/msr -m 0644 c 202 0
# mknod /dev/cpu/0/cpuid -m 0600 c 203 0
====================================
kenny

MasterC 04-13-2005 03:08 AM

Which release of Mandrake? You could add it to rc.local and have it apply at each startup, but it really depends on what device filesystem you are using, udev, devfs, or the old MAKEDEV script with permanent devices? Which is why I ask, which release.

Cool

Infinite_Pizza 04-14-2005 08:59 PM

I am using mandrake 10.1 , yeah it is confusing because I had google a lot on this and it comes up with commands like "makedev , mknod" ... when i run makedev it will only get the msr work when i do makdev /dev/cpu/0/cpuid it gives me error and the msr did nopt stick after the next boot as well =(

kenny


All times are GMT -5. The time now is 07:04 AM.