Lines Matching defs:install
547 * If looking for install targets, we also flag floopy devices.
714 * in case of install-image on a USB memstick.
1264 make_filesystems(struct install_partition_desc *install)
1288 md_pre_mount(install, 0);
1305 qsort(install->infos, install->num, sizeof(*install->infos),
1308 for (i = 0; i < install->num; i++) {
1313 ptn = &install->infos[i];
1418 md_pre_mount(install, i);
1437 make_fstab(struct install_partition_desc *install)
1496 for (size_t i = 0; i < install->num; i++) {
1498 const struct part_usage_info *ptn = &install->infos[i];
1872 * This script was developed as a response to NetBSD pr install/25138
1926 struct install_partition_desc *install)
1935 md_pre_mount(install, 0);
1952 mount_disks(struct install_partition_desc *install)
1961 if (install->cur_system)
2051 error = mount_root(devdev, true, false, install);
2055 for (i = 0; i < install->num; i++) {
2056 if (is_root_part_mount(install->infos[i].mount))
2060 if (i >= install->num) {
2065 if (!install->infos[i].parts->pscheme->get_part_device(
2066 install->infos[i].parts, install->infos[i].cur_part_id,
2069 error = mount_root(devdev, true, false, install);
2113 set_swap_if_low_ram(struct install_partition_desc *install)
2117 set_swap(install);
2121 set_swap(struct install_partition_desc *install)
2127 for (i = 0; i < install->num; i++) {
2128 if (install->infos[i].type == PT_swap)
2131 if (i >= install->num)
2134 if (!install->infos[i].parts->pscheme->get_part_device(
2135 install->infos[i].parts, install->infos[i].cur_part_id, swap_dev,
2208 bootxx_name(struct install_partition_desc *install)
2216 for (i = 0; i < install->num; i++) {
2217 if ((install->infos[i].instflags & PUIINST_MOUNT)
2218 && strcmp(install->infos[i].mount, "/") == 0) {
2219 fstype = install->infos[i].fs_type;
2225 for (i = 0; i < install->num; i++) {
2226 if (install->infos[i].type == PT_root) {
2227 fstype = install->infos[i].fs_type;
2237 if (install->infos[i].fs_version >= 2) {