Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Вопрос по udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Sat Apr 09, 2005 11:48 am    Post subject: Вопрос по udev Reply with quote

А что, ЮДЕВ, не может запомнить, какие я устройства насоздавал?
(раз он сам не умеет создавать нормально)
Задолбало, каждый раз писать

mknod /dev/ppp c 108 0

Чтоб позвонить в инет =(
Back to top
View user's profile Send private message
ZmiyGorinich
Guru
Guru


Joined: 27 Feb 2004
Posts: 369
Location: Zaporizhzhe, Ukraine

PostPosted: Sat Apr 09, 2005 12:00 pm    Post subject: Reply with quote

В файле /etc/conf.d/rc сделай
Code:
RC_DEVICE_TARBALL="yes"

_________________
Home: Athlon XP 2000+, ATI Radeon 9200 64Mb, 512Mb, hda:40Gb, hdb:120Gb, DVD-RW
Work : Duron 1.4, S3 ProSavage8 32Mb, 512Mb, hda:40Gb, CD-RW
Design, programming, hosting
Back to top
View user's profile Send private message
YD
Guru
Guru


Joined: 30 Oct 2004
Posts: 466
Location: Riga, Latvia

PostPosted: Sat Apr 09, 2005 1:08 pm    Post subject: Reply with quote

Легче конфы подредактировать и заставить его самому создавать, чем этот tarball, который все девайсы сохраняет.
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Sat Apr 09, 2005 7:50 pm    Post subject: Reply with quote

YD wrote:
Легче конфы подредактировать и заставить его самому создавать, чем этот tarball, который все девайсы сохраняет.


1) Где хоть порыть на эту тему?
2) Много еще приколов меня ждет на пути к 2.6? =))))))))))))))))))

devfs было привычно (после MAKEDEV, даже прикольно)

А тут кудаыть?
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Sat Apr 09, 2005 7:57 pm    Post subject: Reply with quote

Да, в доонку.

Скажите плиз, а hotplug еще нужен, просто еще не просек пока diff (hotplug coldplug)
под 2.4 колд был не нужен
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Sat Apr 09, 2005 8:56 pm    Post subject: Reply with quote

hotplug подключает при работающей системе (т.е. девайс был "засунут" при включенном компе);
coldplug подключает девайсы, которые были "засунуты" на момент включения/перезагрузки.

Для udev hotplug и sysfsutils --- обязательны.
Back to top
View user's profile Send private message
ZmiyGorinich
Guru
Guru


Joined: 27 Feb 2004
Posts: 369
Location: Zaporizhzhe, Ukraine

PostPosted: Sun Apr 10, 2005 8:38 am    Post subject: Reply with quote

Для coldplug:
Code:
rc-update add coldplug boot

Для hotplug:
Code:
rc-update add hotplug deafult


И все будет работать как часики
_________________
Home: Athlon XP 2000+, ATI Radeon 9200 64Mb, 512Mb, hda:40Gb, hdb:120Gb, DVD-RW
Work : Duron 1.4, S3 ProSavage8 32Mb, 512Mb, hda:40Gb, CD-RW
Design, programming, hosting
Back to top
View user's profile Send private message
SergDL
n00b
n00b


Joined: 04 Apr 2005
Posts: 12

PostPosted: Sun Apr 10, 2005 9:14 am    Post subject: Reply with quote

Добавь эту строчку mknod /dev/ppp c 108 0 в /etc/conf.d/local.start и все будет хорошо
Back to top
View user's profile Send private message
SergDL
n00b
n00b


Joined: 04 Apr 2005
Posts: 12

PostPosted: Sun Apr 10, 2005 9:15 am    Post subject: Reply with quote

Точнее
mknod -m 666 /dev/ppp c 108 0
Back to top
View user's profile Send private message
YD
Guru
Guru


Joined: 30 Oct 2004
Posts: 466
Location: Riga, Latvia

PostPosted: Sun Apr 10, 2005 10:06 am    Post subject: Reply with quote

:D SergDL, забей.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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