[pso] Nu gasesc /dev/ipnecklace

Bogdan Harjoc harjoc at gmail.com
Wed May 31 14:46:14 EEST 2006


Salut,

On 5/31/06, Bianca ENE <bianca_ene at yahoo.com> wrote:
>
> Inregistrez ipnecklace ca un driver de tip char, il caut in /proc/devices,
> il gasesc. Totusi, el nu apare si in /dev, astfel functia open esueaza:
>
> *if* ((fd=open("/dev/ipnecklace", O_RDWR)) < 0) {   perror("can't open /dev/ipnecklace");   exit(-1);  }
>
> Am implementat primitiv functiile open, release, insa niciuna nu este apelata.
>
>
Cred ca te astepti sa se creeze singur device-ul cand dai
insmod (desi ar fi fost util sa zici si ce eroare afisa perror() ),
ceea ce nu se intampla pentru ca nu e pornit nici udevd si nu
e montat nici devfs.


Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20060531/fda8ce74/attachment.htm


More information about the pso mailing list