Changeset 95ca19d in mainline for uspace/lib/device/src/hr.c


Ignore:
Timestamp:
2025-06-30T09:31:21Z (3 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
059885c
Parents:
640250b
Message:

hr: add —read-only volume flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/src/hr.c

    r640250b r95ca19d  
    561561}
    562562
     563const char *hr_get_vol_flag_str(hr_vol_flag_t flag)
     564{
     565        switch (flag) {
     566        case HR_VOL_FLAG_NOOP_META:
     567                return "--no-meta";
     568        case HR_VOL_FLAG_READ_ONLY:
     569                return "--read-only";
     570        default:
     571                return "Invalid flag";
     572        }
     573}
     574
    563575/** @}
    564576 */
Note: See TracChangeset for help on using the changeset viewer.