Re: Bug#417407: debian-installer: d-i destroyed existing raid device
Samuel Thibault <samuel.thibault@ens-lyon.org> writes:
> Hi,
>
> martin f krafft, le Tue 03 Apr 2007 10:28:24 +0200, a écrit :
>> And the other question of course is why the kernel decided it had
>> any business doing recovery on an fs that was marked for ro mount.
>
> Because it always do so, see linux/fs/ext3/super.c:ext3_load_journal():
> even if the mount is read-only, the journal is recovered. If (but only
> if) the device itself is read-only, then nothing is written back to the
> disk. Ext3 clearly lacks xfs' norecovery mount option.
There's any easy way to put the device in read-only mode? os-prober
ought do that before the probing.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
Reply to: