[arch-general] Mounting root according to fstab the first time (fstab in initrd)?

Leonid Isaev leonid.isaev at jila.colorado.edu
Wed Jan 20 20:18:00 UTC 2016


On Wed, Jan 20, 2016 at 09:01:22PM +0100, Garmine 42 wrote:
> There was a discussion on the linux-btrfs mailing list about this, and
> for example the btrfs space_cache option can not be changed with a
> remount - this causes the fstab file's space_cache option to be
> basically ignored. I want to eliminate this kind of issue on my setup,
> that's why I need to avoid root being remounted. Instead I want root
> to be mounted with the options specified in fstab the first (and only)
> time.

Why is it ignored?
/dev/sda4 on / type btrfs (ro,nodev,relatime,compress=zlib,ssd,space_cache,autodefrag,subvolid=257,subvol=/_root)
                                                               ^^^^^^^^^^^

Also, there is fstab in the initramfs:
$ lsinitcpio /boot/initramfs-linux.img | grep fstab
etc/fstab

Have you tried masking the systemd-remount-fs.service?

Cheers,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


More information about the arch-general mailing list