cdist-type__install_mount(7)

cdist-type__install_mount7

Mount filesystems in the installer

Overview

Mounts filesystems in the installer. Collects data to generate /etc/fstab.

Required parameters

device

the device to mount

Optional parameters

dir

where to mount device. Defaults to object_id.

options

mount options passed to mount(8) and used in /etc/fstab

type

filesystem type passed to mount(8) and used in /etc/fstab. If type is swap, 'dir' is ignored. Defaults to the filesystem used in __install_mkfs for the same 'device'.

prefix

the prefix to prepend to 'dir' when mounting in the installer. Defaults to /target.

Examples

__install_mount slash --dir / --device /dev/sda5 --options noatime
require="__install_mount/slash" __install_mount /boot --device /dev/sda1
__install_mount swap --device /dev/sda2 --type swap
require="__install_mount/slash" __install_mount /tmp --device tmpfs --type tmpfs

Copying

Copyright (C) 2011 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Steven Armstrong <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.