Skip to content

Commit 826918f

Browse files
Merge pull request automatic-ripping-machine#1692 from xieve/fix-mount
[BUGFIX] Unable to mount drive
2 parents f913822 + 71ac339 commit 826918f

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.22.1
1+
2.22.2

arm/ripper/identify.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ def check_mount(job: Job) -> bool:
4848
job.mountpoint = mountpoint
4949
else:
5050
logging.info(f"Trying to mount disc at {job.devpath}...")
51-
# --all: Automount devpath to mountpoint specified in fstab
52-
# -o X-mount.mkdir: create directory for the mountpoint, if necessary
53-
arm_subprocess(["mount", "--all", "-o", "X-mount.mkdir", job.devpath])
51+
arm_subprocess(["mount", "--source", job.devpath])
5452
if mountpoint := find_mount(job.devpath):
5553
logging.info(f"Successfully mounted disc to {mountpoint}")
5654
job.mountpoint = mountpoint
@@ -199,7 +197,7 @@ def identify_dvd(job):
199197
# rip out any SKU's at the end of the line
200198
dvd_title = re.sub(r"SKU\b", "", dvd_title)
201199
logging.debug(f"dvd_title SKU$: {dvd_title}")
202-
200+
203201
# Do we really need metaselector if we have got from ARM online db?
204202
try:
205203
dvd_info_xml = metadata_selector(job, dvd_title, year)

0 commit comments

Comments
 (0)