Subject: Re: sshd and read-only filesystem
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 07/11/2001 21:01:28
In article <1eweg5v.pq4exjqjpiv4Mfirstname.lastname@example.org>,
Emmanuel Dreyfus <email@example.com> wrote:
>> | 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?
I guess that this is a side-effect of the write succeeding.