bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set_mtime/set_atime in term/users.c, really needed?


From: Thomas Bushnell, BSG
Subject: Re: set_mtime/set_atime in term/users.c, really needed?
Date: Tue, 26 Jul 2011 17:02:12 -0700

It's what Linux does at least. And Posix likely requires it.

On Tue, Jul 26, 2011 at 4:52 PM, Samuel Thibault <address@hidden> wrote:
Hello,

I've noticed that term/users.c calls set_atime/mtime for each and
every io_write/read performed on a tty. This means for instance that
each keypress on the console or via ssh will dirty the tty node and
eventually lead to a disk write for the underlying node a few seconds
later.

Do we really need to update mtime/atime for ttys?  It seems overkill to
me.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]