LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-25-2003, 03:16 AM   #1
piti
LQ Newbie
 
Registered: Jul 2003
Distribution: mdk, rh
Posts: 11

Rep: Reputation: 0
no devfs when using custom kernel


i have mdk9.1
when running on the original kernel, i have this message "Mounted devfs on /dev" when booting and the devfsd daemon is started
i needed to compile a custom kernel, but the devfs is not mounted and devfsd not started
first do i need the devfs? second why is it not mounted even i have devfs=mount in the lilo.conf?
thanx
 
Old 07-25-2003, 03:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
devfs is part of the kernel, you must have just not enabled it. you might want to check the template config files for the original kernel to see what they had set up for it.
 
Old 07-25-2003, 03:47 AM   #3
DIYLinux
Member
 
Registered: Jul 2003
Location: NL
Distribution: My own
Posts: 92

Rep: Reputation: 18
You do not need devfs - the classic way to do things is to make device special files in /dev by hand (read warning below though)

To use devfs, be sure to configure your kernel properly before compiling.

To make device nodes, use mknod.

mknod name type major minor

where
name: name of device file, like hda2
type: 'c' for character devices, 'b' for block device (no quotes around 'c' or 'b')
major, minor: device numbers

A list of device numbers can be found at http://www.kernel.org/pub/linux/docs...t/devices.txt, or in your kernel source. You do not need to make all devices, just the ones you use.

Warning: if you want to keep using devfs, which is a virtual filesystem containing the relevant special files, you can not place special files in /dev.
 
Old 07-25-2003, 07:31 AM   #4
piti
LQ Newbie
 
Registered: Jul 2003
Distribution: mdk, rh
Posts: 11

Original Poster
Rep: Reputation: 0
thanx both of you

looks like when my system runs without probs (yet) with no devfs i do not need it ;-)

well i could not find the devfs enabling option in the config menu, but comparing the .config files showed the difference

thanx again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
devfs removed from kernel JimBass Linux - Newbie 7 09-28-2005 09:38 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
vanilla-kernel v.2.6.9, devfs & scsi drive issue cmario00 Linux - General 0 01-20-2005 11:57 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Kernel 2.6.1 hardware auto detect? devfs maybe? superdupershant Slackware 12 01-23-2004 10:47 PM


All times are GMT -5. The time now is 10:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration