mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[Problem] MPF.Check: Pulling info from disc device path doesn't work in the Linux build #850
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gmipf on GitHub (Jul 3, 2025).
Originally assigned to: @mnadareski on GitHub.
Before You Submit
If all of those fail, then continue...
Version
What version are you using?
b806bc6cd1)Build
What runtime version are you using?
As described in the wiki, I enter the drive path (/dev/sr0) after the -s -p parameters to scan for protections. It will clear at 0,00%. After mounting MPF still can't access files on the disc when specifying the drive path. Only after specifying the mount path of the disc the scan actually works.
Expected behaviour would be to gather info from the disc without mounting at all.
Another question is whether MPF.Check is able to do a sector level access for protection detection too or does it only do file access?
@mnadareski commented on GitHub (Jul 3, 2025):
To address in order:
/dev/sr0is a block device and not a mounted filesystem. The protection scanning in MPF has always been file-based, not scanning the device directly. The ability to add the mounted path to scan was added precisely for this reason, since Linux doesn't have an accessible filesystem at the same place that you'd be running the dump on, unlike Windows.Neither of these things are likely to change due to how each OS that is supported by the dumping tools and by MPF work.