stuckless / sagetv-dockers

Various Docker containers for SageTV
12 stars 11 forks source link

Add /dev/loop0-9 nodes #12

Open stuckless opened 7 years ago

stuckless commented 7 years ago

From SageTV User

I noticed one bug, and have a fix I wanted to share:

The current version of the docker image has no '/dev/loop0' through '/dev/loop9' device nodes. This causes ISO mounting to fail with 'file not found' within the docker container, and the failure of any ISO format videos to import into the Media library.

The solution is to create the device nodes:

mknod /dev/loop0 b 7 0 mknod /dev/loop1 b 7 1 ... mknod /dev/loop9 b 7 9

...within a shell in the Sagetv environment after which everything worked on my system.

I suggest a test be added to the startup scripts to see if these files exist and create them if they do not.