Changeset 4285f384 in mainline for uspace/app/sysinst


Ignore:
Timestamp:
2025-02-25T20:25:43Z (8 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
d30e067, f35749e
Parents:
d231a54
Message:

Allow physically ejecting CD-ROM using vol eject -s

Location:
uspace/app/sysinst
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sysinst/rdimg.c

    rd231a54 r4285f384  
    11/*
    2  * Copyright (c) 2018 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    191191
    192192        printf("rd_img_close: eject RAM disk volume\n");
    193         rc = vol_part_eject(vol, rd_svcid);
     193        rc = vol_part_eject(vol, rd_svcid, vef_none);
    194194        if (rc != EOK) {
    195195                printf("Error ejecting RAM disk volume.\n");
  • uspace/app/sysinst/sysinst.c

    rd231a54 r4285f384  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    475475        }
    476476
    477         rc = vol_part_eject(vol, part_id);
     477        rc = vol_part_eject(vol, part_id, vef_physical);
    478478        if (rc != EOK) {
    479479                printf("Error ejecting volume.\n");
Note: See TracChangeset for help on using the changeset viewer.