[PATCH 3/5] set the ro-rw kernel parameters for extlinux

Vratislav Podzimek vpodzime at redhat.com
Tue May 27 11:56:17 UTC 2014


On Tue, 2014-05-27 at 06:55 -0400, Gene Czarcinski wrote:
> On 05/27/2014 03:37 AM, Vratislav Podzimek wrote:
> > On Mon, 2014-05-26 at 17:01 -0400, Gene Czarcinski wrote:
> >> This addresses BZ 1036903
> >>
> >> When extlinux is the bootloader: if the rootfs is btrfs, then set the
> >> kernel mount parameter to rw, otherwise set it to ro.
> >>
> >> For rootfs on btrfs it is unnecessary to mount ro since there
> >> is no fsck at boot for this journeled file system.
> > Is there any advantage of using 'rw' for btrfs?
> >
> As BZ 1036903 points out, it is unnecessary to mount the rootfs ro as no 
> checking is done.
I understand that, but if we want to have a piece of code creating an
exception for BTRFS, there should be some *benefit* behind the
exception. If 'ro' results in the same as 'rw', there's no point in
adding such code.

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list