Subject: Re: kern/31430: ptyfs isn't getting mtime right
To: None <gnats-bugs@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 10/01/2005 17:38:43
Simon Burge wrote:

> >Number:         31430
> >Category:       kern
> >Synopsis:       ptyfs isn't getting mtime right

I've changed the synopsis of this to

	tty's aren't getting mtime right

as the problem isn't specific to ptyfs - it also affects serial ports
and older bsd-style ptys.

The problem also seems to go back at least as far a 1.6.1:

  way:~ 8> date
  Sat Oct  1 17:18:01 EST 2005

and

  way:~ 11> ls -lT /dev/ttyp[01]
  crw--w----  1 simonb  tty  5, 0 Oct  1 17:18:13 2005 /dev/ttyp0
  crw--w----  1 simonb  tty  5, 1 Oct  1 17:18:35 2005 /dev/ttyp1

but note there the tty mtime is about 12 seconds late, but at least older
than the other tty used for the ls command.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/