LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2005, 08:54 AM   #1
Infinite_Pizza
Member
 
Registered: Mar 2003
Posts: 47

Rep: Reputation: 15
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
 
Old 04-13-2005, 03:08 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 04-14-2005, 08:59 PM   #3
Infinite_Pizza
Member
 
Registered: Mar 2003
Posts: 47

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HD / mknod issue fasta Debian 7 08-08-2006 12:39 AM
mknod Basel Linux From Scratch 1 09-03-2005 02:13 PM
[c] mknod() function MD3 Programming 2 04-03-2005 10:14 AM
mknod minor shanenin Linux - Hardware 2 04-01-2005 10:34 PM
mknod watashiwaotaku7 Linux - Software 1 01-23-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration