2008-07-17, 10:26 PM
I have my DVD's ripped to a FreeNAS server (which is based on FreeBSD). The FreeNAS mount point is called FreeNAS and contains subfolders like documents, music, photos, movies, etc that have open permissions so all clients on the home network can access them. I was looking at these instructions in the sticky thread -
Obviously I don't have to make a windows share as in the first step above. Assuming all the permissions are correct, can I just mount the network folder directly? e.g. something like
I'm sure that is wrong, but I'm not quite sure how to make this work.
Any suggestions?
Quote:Let's say you have a folder called "D:\My DVD Collection" that you want to play DVDs from using GB-PVR. First you make this a Windows share which I will name dvds because I'm lazy. To set it up add the following lines into script.cgi
mkdir /mnt/D:\\My\ DVD\ Collection
mount -t cifs //mydvd_IP/dvds /mnt/D:\\My\ DVD\ Collection -o username=guest,ro
That looks ugly but you only have to set it up once for each location. Notice that each \ is doubled and each space is also preceded by a \ Other characters that need special attention include [ ] { } ( ) " ' and & If you do use these characters it is probably best to test using telnet avoiding some of these characters is best.
Obviously I don't have to make a windows share as in the first step above. Assuming all the permissions are correct, can I just mount the network folder directly? e.g. something like
Code:
mount -t cifs //FREENAS/movies -o username=guest,ro
Any suggestions?
"Nothing succeeds as planned" - Joseph Heller