lkml.org 
[lkml]   [2005]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: updating mtime for char/block devices?
From
Date
On Mon, 2005-02-28 at 00:51 +0100, Carl-Daniel Hailfinger wrote:
> Hi,
>
> is it intentional that
> echo foo >/dev/hda1
> doesn't update the mtime of the device node, but
> echo foo >/dev/tty10
> does update the mtime of the device node?
>
> And no, mounting with the noatime flag doesn't help because the
> mtime is updated. IIRC some time ago this behaviour was different,
> but I could easily be mistaken.

devices are tricky in general in this respect, /dev may be mounted read
only for example ;)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:2.740 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site