Re: [Yaffs] Saving checkpoint on remount read-only

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Vitaly Wool
Date:  
To: ian@brightstareng.com
CC: Charles Manning, yaffs
Subject: Re: [Yaffs] Saving checkpoint on remount read-only
On 3/20/07, <> 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