[pso] [Tema4][linux] Ipneckace problems...

Octavian Purdila tavi at cs.pub.ro
Fri May 18 23:32:40 EEST 2007


On Friday 18 May 2007 23:19, Dragos Tatulea wrote:
> Output stat /dev/ipnecklace:
>
> File: `/dev/ipnecklace'
>   Size: 0               Blocks: 0          IO Block: 4096   character
> special file
> Device: ch/12d  Inode: 9155        Links: 1     Device type: 2a,0
> Access: (0600/crw-------)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2007-05-18 23:12:36.443453629 +0300
> Modify: 2007-05-18 23:12:36.443453629 +0300
> Change: 2007-05-18 23:12:36.443453629 +0300
>
> Pt char device am implementat open/close ( return 0) si ioctl. In init am
> facut register_chrdev_region, cdev_init si cdev_add...

OK, sa vedem si un strace pe un program care face open pe /dev/ipnecklace. Si 
outputu de la cat /dev/devices :) 

(si presupun ca testezi cu utilizatorul root)

tavi


More information about the pso mailing list