Re: updating mtime for char/block devices?

From: Russell King
Date: Tue Mar 01 2005 - 06:21:15 EST


On Tue, Mar 01, 2005 at 12:15:41PM +0100, Carl-Daniel Hailfinger wrote:
> Russell King schrieb:
> > tty mtime updates aren't marked dirty, so aren't written back to disk.
> > Intentionally.
>
> It seems the tty mtime exception doesn't include /dev/ptmx. That's
> probably unintentional. Is there a chance to extend the tty mtime
> exception to all char devices or at least major 4+5?

It does include /dev/ptmx, at least here with 2.6.11-rc2-bk1 and 2.4
kernels. In fact, it's common to all tty devices since it's handled
by the generic tty code.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/