CONSFIGURATOR.PROPERTY.FSTAB

API reference

Properties

Property: FSTAB:HAS-ENTRIES

(fstab:has-entries &rest entries)

Ensure that /etc/fstab contains each of ENTRIES, using a simple merge procedure: existing lines of the fstab with the same mount point as any of ENTRIES are updated to match the corresponding members of ENTRIES, except that if the first field of the existing entry is not “none” and the corresponding member of ENTRIES is “none”, or “PLACEHOLDER”, use the existing field value.

This makes it easy to update mount options without having to specify the partition or filesystem UUID in your consfig.

Property: FSTAB:HAS-ENTRIES-FOR-VOLUMES

(fstab:has-entries-for-volumes &optional volumes)

Add or update entries in /etc/fstab for VOLUMES, or the host’s volumes, as specified with DISK:HAS-VOLUMES.

Property: FSTAB:HAS-ENTRIES-FOR-OPENED-VOLUMES

(fstab:has-entries-for-opened-volumes)

Add or update entries in /etc/fstab for currently open volumes.

This is used when building disk images and installing operating systems.