xterm: Error 18, errno 13

Javier Valencia jvalencia at log01.org
Thu Dec 2 04:38:53 PST 2004


Glynn Clements wrote:

>Is your kernel module checking both the device and inode number? Or is
>it only checking the inode number, and mistaking /dev or /dev/pts for
>the /bin directory? Note that /dev/pts definitely won't be on the root
>filesystem, and /dev won't be on the root filesystem if you are using
>devfs.
>

Mmmmm i printed too the path of the inode, and it prints "/dev/pts/2", 
this device have inode 4 too, it's a link i think.

So, i've added a S_ISREG check for the inode, and now it works!

Thanks very much.



More information about the xorg mailing list