xterm: Error 18, errno 13
René Rebe
rene at exactcode.de
Thu Dec 2 04:52:41 PST 2004
Hi,
Javier Valencia wrote:
> 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!
You should better check if the devices is the one your /bin is on. There
is most probably a inode "4" on every filesystem you mount. E.g.
tomorrow you'll notice that you cannot read a file from a inserted CD ...
Have fun,
--
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.exactcode.de/t2
+49 (0)30 255 897 45
More information about the xorg
mailing list