I have a few entries in
/etc/fstab that should not be mounted at boot, unfortunately openrc init ignores
noauto option. That's how my
/etc/fstab looks:
/dev/mapper/data /home/user/Backup btrfs noauto,user,nodiratime,lazytime,compress=lzo,subvol=@backup 0 2
/dev/mapper/data /home/user/Music btrfs nofail,user,nodiratime,lazytime,compress=lzo,subvol=@music 0 2
/dev/mapper/data /home/user/Videos btrfs nofail,user,nodiratime,lazytime,compress=lzo,subvol=@videos 0 2
All entries are mounted at boot, regardless of
noauto option. Does anybody know how to enforce correct behavior?
noauto is not an option passed to mount, it is an option for fstab configuration.
I don't think it has anything to do with btrfs.
noauto parameter controls whether the entry should be mounted or not at boot time, regardless of filesystem in use.
Openrc ignores some system configuration files and uses it's own. (Like
/etc/hostname)
So maybe I should configure it in
/etc/conf.d/localmount?