Skip to content

Commit

Permalink
Disk: add {mountpoint} and {mount-from} in custom output format
Browse files Browse the repository at this point in the history
Fix #1577
  • Loading branch information
CarterLi committed Feb 20, 2025
1 parent 8f69533 commit 6de9d0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/disk/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ static void printDisk(FFDiskOptions* options, const FFDisk* disk, uint32_t index
FF_FORMAT_ARG(minutes, "minutes"),
FF_FORMAT_ARG(seconds, "seconds"),
FF_FORMAT_ARG(milliseconds, "milliseconds"),
FF_FORMAT_ARG(disk->mountpoint, "mountpoint"),
FF_FORMAT_ARG(disk->mountFrom, "mount-from"),
}));
}
}
Expand Down Expand Up @@ -483,6 +485,8 @@ static FFModuleBaseInfo ffModuleInfo = {
{"Minutes after creation", "minutes"},
{"Seconds after creation", "seconds"},
{"Milliseconds after creation", "milliseconds"},
{"Mount point / drive letter", "mountpoint"},
{"Mount from (device path)", "mount-from"},
}))
};

Expand Down

0 comments on commit 6de9d0c

Please sign in to comment.