Using devfs and udev at the same time ?
I'd like to know if it's possible to use devfs in /dev and udev in /udev at the same time, mainly for testing purposes.
It doesn't seem to or something is broken on my end. devfs works but I only get a .udev.tdb in /udev.
Or does it only work with devfs=nomount / no CONFIG_DEVFS_FS ?
Signature · 12 lines
http://www.pervalidus.net/contact.html ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 5 lines · Frédéric L. W. Meunier
I'd like to know if it's possible to use devfs in /dev and udev in /udev at the same time, mainly for testing purposes.
It doesn't seem to or something is broken on my end. devfs works but I only get a .udev.tdb in /udev.
It should work just fine.
Quoted 1 line
Or does it only work with devfs=nomount / no
CONFIG_DEVFS_FS?
Nope, udev doesn't care and doesn't know anything about devfs.
Do you have CONFIG_HOTPLUG enabled? And have sysfs mounted on /sys or somewhere?
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Greg KH
Quoted 5 lines · Frédéric L. W. Meunier
I'd like to know if it's possible to use devfs in /dev and udev in /udev at the same time, mainly for testing purposes.
It doesn't seem to or something is broken on my end. devfs works but I only get a .udev.tdb in /udev.
Quoted 8 lines
It should work just fine.
Quoted 1 line
Or does it only work with devfs=nomount / no
CONFIG_DEVFS_FS?Nope, udev doesn't care and doesn't know anything about devfs.
Do you have
CONFIG_HOTPLUGenabled? And have sysfs mounted on /sys or somewhere?
Sorry for the false alarm. It happened after I installed 010 and by mistake also commented "export ACTIONd" in rc.udev since I'm on Slackware.
BTW, I'm not sure if it's a problem, but udev created ptmx with the following permissions:
crw------- 1 root root 5, 2 Dez 23 20:31 ptmx
devfs creates it with:
crw-rw-rw- 1 root root 5, 2 Dez 23 20:34 ptmx
devs-2.3.1-noarch-18.tgz from Slackware:
crw-rw-rw- 1 root tty 5, 2 Abr 21 1999 ptmx
Yesterday, when I booted with only udev screen didn't work as an user (No more PTYs). I got it working changing to 666. But then for some reason ssh and rxvt didn't work as an user, and I went back to devfs. I'll try to see what was wrong with the others.
Signature · 12 lines
http://www.pervalidus.net/contact.html ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 9 lines · Frédéric L. W. Meunier
BTW, I'm not sure if it's a problem, but udev created ptmx with the following permissions:
crw------- 1 root root 5, 2 Dez 23 20:31 ptmx
devfs creates it with:
crw-rw-rw- 1 root root 5, 2 Dez 23 20:34 ptmx
Then add a udev.permissions entry for the ptmx file, or change the default mode in the udev.config file for all devices (which is the more dangerous situation.)
Either way, it's just a configuration issue :)
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel