[systemd-devel] fstab, rootfs on btrfs

Tom Gundersen teg at jklm.no
Wed Nov 27 11:24:56 PST 2013


On Wed, Nov 27, 2013 at 8:15 PM, Chris Murphy <lists at colorremedies.com> wrote:
>
> On Nov 27, 2013, at 4:53 AM, Kay Sievers <kay at vrfy.org> wrote:
>
>> On Wed, Nov 27, 2013 at 5:16 AM, Chris Murphy <lists at colorremedies.com> wrote:
>>>
>>> In Fedora 20, by default anaconda sets fs_passno in fstab to 1 for / on btrfs. During offline updates, this is causing systemd-fstab-generator to freak out not finding fsck.btrfs.
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1034563
>>
>> Right, it should not set 1 for btrfs.
>
> Since it can be mounted rw from the get go, is it going to far to plan for one day dropping the initial ro mount, remount rw sequence?

As far as I know there is no point in ever doing the remount, just set
the kernel commandline params correctly and mount it with the correct
options in the initrd.

> Today it already works to set the bootloader kernel parameter to mount btrfs rw from the start, and remove the rootfs fstab entry entirely.

Yup, this should always work.

-t


More information about the systemd-devel mailing list