On 3/20/07,
ian@brightstareng.com <
ian@brightstareng.com> wrote:
> I can follow this logic -- but I'm still left with an uneasy
> feeling that the media state might be changed when I mount a
> filesystem read-only. I would not expected it to write/erase
> anything -- shouldn't the 'clean-up' be elided when mounting RO?
>
> If the underlying media were write-protected, as with the button
> on a VAX RA81 drive, the 'clean-up' write/erase would fail.
Can you please elaborate on how it relates to the case being
discussed? If you look at the current code, you'll see that once the
read-only flag is set for the current mount, the added function just
does nothing.
Thanks,
Vitaly