View previous topic :: View next topic |
Author |
Message |
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Fri Feb 20, 2004 10:30 pm Post subject: why devfs???? |
|
|
hi guys,
i'm wondering why gentoo depend on devfs. this filesystem is beeing deprecated by kernel and it's a gone be changed by udev. is gentoo gona chance to udev too? but what a really wanted to know is why it depends on it. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Fri Feb 20, 2004 10:54 pm Post subject: |
|
|
Uh, Gentoo currently works great with udev. I'm using a pure udev (no devices tarball) system, and ALSA and nvidia stuff all works fine. Greg KH has publically thanked the Gentoo guys for being the first distrib to show that it can work. What's your problem? _________________ Think about your breathing.
http://floam.sh.nu |
|
Back to top |
|
|
Spawn of Lovechild Apprentice
Joined: 03 Feb 2004 Posts: 253 Location: Århus, Denmark
|
Posted: Fri Feb 20, 2004 11:25 pm Post subject: |
|
|
how did you make udev work with devfs, I tried the prior version but it failed.
udev is great though. _________________ Proud to be a 22 year old Infidel, GNOME lover and member of LIK. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Feb 21, 2004 1:26 am Post subject: |
|
|
Lovechild: Not sure what you mean by working "with" devfs (I assume you mean things that expect devfs), but the current udev in portage has a udev.rules set up to generate a very devfs-like /dev/. Works like a charm once you hack up /sbin/rc and halt.sh to get rid of that device tarball crap. _________________ Think about your breathing.
http://floam.sh.nu |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Sat Feb 21, 2004 2:29 am Post subject: |
|
|
Spawn of Lovechild wrote: | how did you make udev work with devfs, I tried the prior version but it failed.
udev is great though. |
It's been working for ages?
Try the udev primer in docs, tips, and tricks. That helped me get it going over a month ago. (You were AFF - Away From Forum - when all the fuss over udev really came about.) _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
RaaR Tux's lil' helper
Joined: 24 Jul 2003 Posts: 125
|
Posted: Sat Feb 21, 2004 2:44 am Post subject: |
|
|
I've been running UDEV since about a month ago with no problems. Next time I have to reboot, I'll get rid of devices.tar.bz2 and hack /sbin/rc halt.sh to get a proper pure-UDEV /dev. |
|
Back to top |
|
|
CheshireCat Guru
Joined: 25 Aug 2002 Posts: 572
|
Posted: Sat Feb 21, 2004 2:52 am Post subject: |
|
|
I installed UDEV to play with it, and set it up to create devices in /udev instead of /dev... only problem I've noticed is that there are still no IDE block devices there, nor any of my device-mapper devs. AFAICT, it looks like the info for these is in /sys, so I'm not really sure why UDEV isn't making device nodes for them |
|
Back to top |
|
|
Epyon l33t
Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Sat Feb 21, 2004 3:26 am Post subject: |
|
|
I tried udev but it never created the device nodes for alsa. I never got a chance to fix it either so I just stuck with devfs. I'll try udev again when it matures more. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Feb 21, 2004 5:37 am Post subject: |
|
|
Epyon: The ALSA stuff was added not long ago, you should try it again. _________________ Think about your breathing.
http://floam.sh.nu |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Sat Feb 21, 2004 2:52 pm Post subject: |
|
|
i didn't really had a problem, just wanted to know how was the suport to udev.
thanks to everyone that posted |
|
Back to top |
|
|
ett_gramse_nap Apprentice
Joined: 01 Oct 2003 Posts: 252 Location: Göteborg, Sweden
|
Posted: Sat Feb 21, 2004 4:54 pm Post subject: |
|
|
RaaR wrote: | I've been running UDEV since about a month ago with no problems. Next time I have to reboot, I'll get rid of devices.tar.bz2 and hack /sbin/rc halt.sh to get a proper pure-UDEV /dev. |
So what's all this about? _________________ Don't bother! |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Feb 21, 2004 7:00 pm Post subject: |
|
|
ett_gramse_nap: By default in Gentoo, you're not really using udev. Every time your computer starts up it will extract a known to work /dev/ into your /dev/. Many are taking this out so that they can have a system where everything is discovered and dynamically created at boot up. _________________ Think about your breathing.
http://floam.sh.nu |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Sat Feb 21, 2004 8:55 pm Post subject: |
|
|
You can actually compile devfs into your kernel still if you want. Then setup your bootloader to choose between devfs or udev.
Have recently added that to the Primer, if you haven't read it lately. _________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sun Feb 22, 2004 2:14 am Post subject: |
|
|
But things rock so much more without it... or something.
After checking this thread I went and did the changes to make my system entirely udev... and oh man, udev is sexy. Thanks Decibels. |
|
Back to top |
|
|
|