I just stumbled upon my arch generated fstab. All the btrfs subvol entries are starting with a leading slash in the subvolume name. This doesn’t look correct to me, but im unsure about it.
The system is working well, I guess because the subvolid is also given in the fstab file and the subvolume gets mountet by the id not by it’s name.
Is it safe to remove the leading slash? i.e. subvol=/@ to subvol=@
All this repeats with any other subvolume in the fstab, generated while installing Arch.
It makes no difference. It works fine with or without the /.
If you ever want to use btrfs snapshots to restore a subvolume, this will be a big problem. You should remove the subvolid= part here. It isn’t needed and can cause issues during a restore.
This is caused by using the results from mount to build your fstab which produces questionable results when using btrfs.