chown root:1000 q
mkdir -p /mnt/root_$DISTRO/boot
-for x in root/a q/a; do
+for x in q/a q/i; do
mkdir -p $x
chown 1000:1000 $x
chmod 755 $x
## end create subvols ##
-
+# note, the mount point /a seems to get automatically created somewhere
cat > /tmp/fai/fstab <<EOF
$first_root_crypt / btrfs noatime,subvol=root_$DISTRO 0 0
$first_root_crypt /q btrfs noatime,subvol=q 0 0
if ifclass treetowl; then
cat >> /tmp/fai/fstab <<'EOF'
-UUID=3f7b31cd-f299-40b4-a86b-7604282e2715 /i btrfs noatime 0 2
+UUID=3f7b31cd-f299-40b4-a86b-7604282e2715 /i btrfs noatime 0 2
+EOF
+fi
+
+if ifclass frodo; then
+ cat >> /tmp/fai/fstab <<'EOF'
+/q/i /i none bind 0 0
EOF
fi