Comment 2 for bug 1785354

Revision history for this message
Ryan Harper (raharper) wrote :

Curtin supports specifying this information in the mount structure (mount documentation needs an update to indicate we support specifying any of the mount fields in fstab (spec, fstype, path, freq and passno).

- type: mount
  id: sda1_mount
  path: /
  device: sda1_root
  passno: 1

Curtin could change the default the passno value for mount entries which have path == "/" to 1 for passno and 2 for other mounts that are not root. There are some restrictions that need to be handled, for example, no need to fsck enable bind and tmpfs mounts.

The other concern here (for curtin in general) is whether we want to enable fsck on the partitions which historically have never had fsck enabled.