Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mknod /dev/ircomm0
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
curbat
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 172
Location: Russia

PostPosted: Thu Aug 24, 2006 2:06 pm    Post subject: mknod /dev/ircomm0 Reply with quote

Для работы с irda создаю устройство
mknod /dev/ircomm0 c 161 0
Далее работаю с ним выхожу в интернет через GPRS но после перезагрузки /dev/ircomm0 пропадает и приходится его опять создавать
mknod /dev/ircomm0 c 161 0
Подскажите плз как сделать чтобы оно не пропадало?
_________________
Registered Linux user #393446


Last edited by curbat on Wed Aug 30, 2006 3:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
tango123
n00b
n00b


Joined: 21 Apr 2005
Posts: 37

PostPosted: Wed Aug 30, 2006 3:07 pm    Post subject: Re: mknod /dev/ircomm0 Reply with quote

curbat wrote:
╢шО ЮпячБК А irda АчвтпН ЦАБЮчыАБрч
mknod /dev/ircomm0 c 161 0
╢пшуу ЮпячБпН А щьэ рКЕчжЦ р ьщБуЮщуБ ГуЮув GPRS щч ъчАшу ъуЮувпсЮЦвзь /dev/ircomm0 ъЮчъптпуБ ь ъЮьЕчтьБАО усч чъОБЛ АчвтпрпБЛ
mknod /dev/ircomm0 c 161 0
©чтАзпжьБу ъшв зпз АтушпБЛ ГБчяК чщч щу ъЮчъптпшч?


Надо же так "тукс хелперу" промахнутсья с кодировкой ;-)
Back to top
View user's profile Send private message
ArtSh
Apprentice
Apprentice


Joined: 05 Aug 2006
Posts: 178
Location: Казань, Россия

PostPosted: Wed Aug 30, 2006 8:26 pm    Post subject: Reply with quote

Пользуйтесь поиском, это позволит быстрее решать проблемы.

Code:

# UDEV OPTION:
# Set to "yes" if you want to save /dev to a tarball on shutdown
# and restore it on startup.  This is useful if you have a lot of
# custom device nodes that udev does not handle/know about.

RC_DEVICE_TARBALL="yes"


в файле /etc/conf.d/rc
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Thu Aug 31, 2006 6:13 am    Post subject: Reply with quote

вообще-то правильнее настроить udev на автоматическое создание устройства
попробуй так:
Code:
echo "KERNEL=="ircomm[0-9]*", NAME="%k", GROUP="dialout", MODE="0660"" >>/etc/udev/rules.d/10-my.rules
udevstart

и добавь себя в группу dialout
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