Subject: Re: sshd and read-only filesystem
To: Robert Elz <kre@munnari.OZ.AU>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 07/11/2001 21:12:43
>   | Interesting... Writing to writable files on a readonly filesystem is
>   | dissallowed.
> This shouldn't be surprising, writing to a device is not writing to the
> filesystem that contains the inode for the device, it is writing to
> wherever the device wants the data to be put (same for /dev/null /dev/tty
> /dev/anything else).

Maybe the solution would be to allow changing the owner like we allow
changing the mtime? (cf below)

>   | 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?

Emmanuel Dreyfus