Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why devfs????
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Fri Feb 20, 2004 10:30 pm    Post subject: why devfs???? Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri Feb 20, 2004 10:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Spawn of Lovechild
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 253
Location: Århus, Denmark

PostPosted: Fri Feb 20, 2004 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sat Feb 21, 2004 1:26 am    Post subject: Reply with quote

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
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Sat Feb 21, 2004 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
RaaR
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 125

PostPosted: Sat Feb 21, 2004 2:44 am    Post subject: Reply with quote

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
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Sat Feb 21, 2004 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Sat Feb 21, 2004 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sat Feb 21, 2004 5:37 am    Post subject: Reply with quote

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
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Sat Feb 21, 2004 2:52 pm    Post subject: Reply with quote

i didn't really had a problem, just wanted to know how was the suport to udev. :D
thanks to everyone that posted
Back to top
View user's profile Send private message
ett_gramse_nap
Apprentice
Apprentice


Joined: 01 Oct 2003
Posts: 252
Location: Göteborg, Sweden

PostPosted: Sat Feb 21, 2004 4:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sat Feb 21, 2004 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sat Feb 21, 2004 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
bssteph
l33t
l33t


Joined: 26 Feb 2003
Posts: 652
Location: Wisconsin

PostPosted: Sun Feb 22, 2004 2:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum