On Wed, Aug 27, 2008 at 10:47:55PM +0200, Otto Moerbeek wrote:

> So in absense of dev.db, the function ttyname() will fail if the
> actual device node that is the controlling tty is not the same as the
> ones which oldttyname() scans. 

Let me rephrase that. 

In absense of dev.db, ttyname() will fail if it scans a different /dev
directory than the one that contains the special device of the actual
controlling terminal.

This is because if checks the inode number of the devices.

        -Otto

Reply via email to