* Re: Using devfs and udev at the same time ?
2003-12-23 18:33 Using devfs and udev at the same time ? Frédéric L. W. Meunier
@ 2003-12-23 22:18 ` Greg KH
2003-12-23 22:42 ` Frédéric L. W. Meunier
2003-12-23 22:48 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-12-23 22:18 UTC (permalink / raw)
To: linux-hotplug
On Tue, Dec 23, 2003 at 04:33:28PM -0200, Frédéric L. W. Meunier wrote:
> 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.
> 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_id\x1278&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Using devfs and udev at the same time ?
2003-12-23 18:33 Using devfs and udev at the same time ? Frédéric L. W. Meunier
2003-12-23 22:18 ` Greg KH
@ 2003-12-23 22:42 ` Frédéric L. W. Meunier
2003-12-23 22:48 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Frédéric L. W. Meunier @ 2003-12-23 22:42 UTC (permalink / raw)
To: linux-hotplug
On Tue, 23 Dec 2003, Greg KH wrote:
> On Tue, Dec 23, 2003 at 04:33:28PM -0200, Frédéric L. W. Meunier wrote:
> > 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.
>
> > 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?
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.
--
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_id\x1278&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Using devfs and udev at the same time ?
2003-12-23 18:33 Using devfs and udev at the same time ? Frédéric L. W. Meunier
2003-12-23 22:18 ` Greg KH
2003-12-23 22:42 ` Frédéric L. W. Meunier
@ 2003-12-23 22:48 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-12-23 22:48 UTC (permalink / raw)
To: linux-hotplug
On Tue, Dec 23, 2003 at 08:42:53PM -0200, Frédéric L. W. Meunier wrote:
>
> 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_id\x1278&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread