Automount DVD
-
I use Retropie and Kodi to watch a DVD via a USB DVD drive. To mount the DVD i use a terminal and ssh connection on my Macbook "mount /dev/sr0 /media" and its work. Unfortunately it is very complicated, is there a possibility that the USB DVD drive is automatically mount?
thx and cya Thommy
-
Can you locate the mountpoint?
Ususally the automount feature is active so the loaction should be/media/usb0
-
Sorry, I am new to the Linux world. The mount with the command "sudo mount /dev/sr0 /media" works, but only manually.
It would be nice if the Raspi when inserting a DVD or the connection of the DVD drive mount it automatically.Thanks for your help and cya Thommy
-
Here is a fine instruction that should work
https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive2nd possibility
RetroPie is capable of running a script on autostart ... edit
/opt/retropie/configs/all/autostart.sh
. There you can set yoursudo mound
command but be aware: Changes in the the es launch script will get overwritten on upgrade. -
I haven't tried it but this might work:
https://ddumont.wordpress.com/2015/09/27/how-to-automount-optical-media-on-debian-linux-for-kodi/They're just adding a line to the
/etc/fstab
-
@backstander
Sorry for my late reply. I have insert the line/dev/sr0 /media/dvd auto defaults,nofail,x-systemd.automount 0 2
And the DVD ist mount at the bootup. But if i change the DVD disc it will not automatically mount the new disc ;(
Thx for your help, cya
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.