Modules and DevFS
I just edited my rc.local file to add symlinks of the old names to the files of the new names. Works great for my purposes.
-- Dan Egli
----- Original Message -----
From: "Michael B. Trausch" <[email protected]>
To: "William Knop" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 31, 2001 3:56 PM
Subject: Re: Modules and DevFS
Quoted 3 lines · William Knop
Quoted 2 lines
Quoted 2 lines
One thing that I've noticed with devfs is that all the old-style names
are
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
symlinks.
Hmm... I have no symlinks until the module loads. Therefore X sees no
/dev/input/mouse, doesn't ask the kernel for it, the kernel doesn't load
the
Quoted 1 line
Quoted 1 line
module, and DevFS doesn't add the /dev entry. There's got to be an easy
way
Quoted 21 lines
Quoted 3 lines
around this. Perhaps it has already been implimented, but I haven't been able to get anything to work well (manual loading for me).
As I understand it, devfsd, the daemon that you should have installed and use with devfs (at least until all old-style device names are gone), is what puts the compatability symlinks in there. DevFS, if you tell it to mount at kernel boot, (which you should), provides the actual device inodes, for example:
/dev/tts/*,/dev/pty/*,/dev/vc/*, etc.DevFSd provides symlinks as follows:
/dev/ttyS0=/dev/tts/0/dev/tty0=/dev/vc/0/dev/pty*=/dev/pty/*Until programs use the new names (e.g., init should tell getty to use
/dev/vc/0instead of/dev/tty0), and everything on the system doesn't need support for the old-style names, you need to use devfsd and such.
Quoted 10 lines
I can't say that other than naming things and installing the daemon, I've nto had any problems with modules and whatnot. Maybe you'll be forced to a solution that
Documentation/filesystems/devfs/READMEpresents for those who need a device there - You may have to create a device inode manually via a startup script at bootup... You should read that file for more details.- Mike
===========================================================================
Quoted 1 line
Michael B. Trausch
Quoted 1 line
Avid Linux User since April, '96! AIM:
ML100Smkr
Quoted 3 lines
Contactable via IRC (DALNet) or AIM as ML100Smkr
===========================================================================
Quoted 6 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/