Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

KC2: devfs

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
yokem55
Guru
Guru
Posts: 360
Joined: Thu Apr 18, 2002 7:52 pm
Location: Oregon
Contact:
Contact yokem55
Website

KC2: devfs

  • Quote

Post by yokem55 » Fri Nov 22, 2002 7:29 am

Navigation: [prev KC1: Won't boot with new kernel] [next KC3: Networking] [Kernel Compilation] [Table of Contents]

Notice: as of kernel-2.6.13 devfs is no longer included in the kernel in favour of [topic=406527]udev[/topic].

KC2. What is devfs? Do I really need it in my kernel? How do I enable it?

Devfs isn't a file system in the traditional sense of the term with regard to how data is structured inside a partion. Rather, devfs is a system that allows the kernel to automagically make relevent hardware device entries in your /dev/ directory when it initializes a driver that is either built into the kernel or when a module is loaded.

While Gentoo can be run without devfs, you will have to manually make new device entries in the /dev/ directory on your own with the mknod or mkdev commands, which introduces some extra (and usually needless) complexity.

To enable devfs in the kernel, start by bringing up the kernel configuration screen with "make menuconfig" in your /usr/src/linux directory. You may first have to enable experimental options support by going into the very first section "Code Maturity Level Options -->" and say yes to the option "Prompt for development and/or incomplete drivers". Then exiting out of that section, go into the "File Systems -->" section. Then scroll down with the down arrow key until you see the option for "/dev file system support (EXPERIMENTAL)". Select yes to this option and the sub-option that will come up beneath it "Mount automatically at boot." You can then exit out of this section and then either make any more changes you wish to your kernel, or simply exit out of the kernel configuration screen alltogether. You can now build your kernel as normal, and it will have proper devfs support.
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Wed May 14, 2003 2:26 am

From the old FAQ:

Do I really need to have devfs support in my kernel?

Technically, no. However, it's highly recommended. For more information, see the Installation Guide.

How do I enable devfs?

When recompiling your kernel, turn on 'Prompt for development and/or incomplete code/drivers' under 'Code maturity level options', and then look under 'File systems' for '/dev file system support'.
Quis separabit? Quo animo?
Top
Post Reply

2 posts • Page 1 of 1

Return to “Frequently Asked Questions”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic