Subject: Re: sshd and read-only filesystem
To: None <>
From: Simon Burge <>
List: tech-kern
Date: 07/12/2001 17:13:59
Emmanuel Dreyfus wrote:

> >   | What happens to the mtime of the device? 
> > That's on the read only filesystem, so that can't be touched.
> It is changed, as is /dev/console mtime changed when you type on the
> console with a read-only /dev.
> But how is it able to change the mtime??? Shouldn't this be read-only?

I suspect the metadata for /dev/console is being cached in the kernel.
If/when /dev/console is flushed from the metadata cache, it would revert
to the old mtime stored in the read-only inode.

Simon Burge                            <>
NetBSD CDs, Support and Service: