LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-20-2005, 10:30 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question 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
 
Old 08-21-2005, 02:18 AM   #2
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
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
 
Old 08-21-2005, 01:23 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
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)
 
Old 08-21-2005, 01:33 PM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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.
 
Old 08-21-2005, 02:25 PM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
What does a system use if both udev and devfs are disabled?
 
Old 08-22-2005, 01:25 AM   #6
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is /dev/pts, /dev/shm? mrpc_cambodia Red Hat 1 10-18-2004 03:27 AM
/dev/pts/xx operation not permitted deb75 Slackware 0 03-25-2004 05:10 AM
/dev/pts/7: Operation not permitted kiley_rodgers Slackware 2 01-10-2004 10:23 AM
/dev/pts/0 alaios Linux - Hardware 1 10-15-2003 03:43 PM
Linux-2.6.0-test /dev/pts wlewis Linux - Software 1 10-02-2003 07:54 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration