Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-20-2005, 10:30 PM
|
#1
|
Member
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944
Rep:
|
Kernel config options (/dev, /dev/pts)
I'm recompiling my 2.4.26 kernel on Slack 10.0, and there's a few options I've seen various opinions on online. For the below two, what exactly are they and should they be enabled or disabled?
/dev file system support (EXPERIMENTAL)
/dev/pts file system for Unix98 PTYs
|
|
|
08-21-2005, 02:18 AM
|
#2
|
Member
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119
Rep:
|
Re: Kernel config options (/dev, /dev/pts)
Quote:
jrdioko :
I'm recompiling my 2.4.26 kernel on Slack 10.0, and there's a few options I've seen various opinions on online. For the below two, what exactly are they and should they be enabled or disabled?
/dev file system support (EXPERIMENTAL)
/dev/pts file system for Unix98 PTYs
|
The first kernel configuration option ( DevFS) should be disabled : DevFS is obsolete as it is not maintained anymore. The second kernel configuration option, the Pseudo Terminals Filesystem ( DevPts), is used to manage pseudo terminals devices and should be enabled : most pseudo terminals programs like XTerm, RXVT, GNOME Terminal and Konsole do need it.
If you enable DevFS, you don't need to enable DevPts as DevFS can replace it. By default, Slackware Linux tries to mount DevPts when it starts as there is a entry in /etc/fstab.
-- LiNuCe
|
|
|
08-21-2005, 01:23 PM
|
#3
|
Member
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944
Original Poster
Rep:
|
Ok, and that's how I have it now. What is the difference, then, between devfs, the normal /dev structure that all Linux systems seem to have, and udev? (in simple terms, please)
|
|
|
08-21-2005, 01:33 PM
|
#4
|
Member
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761
Rep:
|
At the most basic, udev dynamically generates all device nodes based on rules on startup or when a device is plugged in, devfs is static.
See the udev FAQ for more.
|
|
|
08-21-2005, 02:25 PM
|
#5
|
Member
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944
Original Poster
Rep:
|
What does a system use if both udev and devfs are disabled?
|
|
|
08-22-2005, 01:25 AM
|
#6
|
Member
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119
Rep:
|
The /dev directory
Quote:
jrdioko: What does a system use if both udev and devfs are disabled?
|
It uses the traditionnal /dev directory hierarchy like most Unix operating system. It contains all necessary files which allow programs to access your hardware. These files are special character/block "nodes" (see the mknod(1) manual page) which are characterized by a major and minor number. You can look at the Linux allocated device list to search node/device associations and major/minor number allocations.
-- LiNuCe
|
|
|
All times are GMT -5. The time now is 12:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|