Page 1 of 1

Naming of mountes NFS Share

Posted: Wed Nov 12, 2014 9:51 pm
by Pimboli
Hello,

i newly have configured my nfs Shares in nfsmount as followed:
SpoilerShow
##### YOU CAN CHANGE ME HERE ######
SERVER="192.168.178.30"
# SERVER="10.0.0.1" # if you want a fixed server
SHARES="/i-data/fd76dcd8/video /i-data/fd76dcd8/music /i-data/fd76dcd8/photo"
# SHARES="Video Music Photo" # if you won't all your shares, but then set SERVER too!!
##### CHANGE ME END ######
For now, when i go to virt.usb, i must go trough /nfs/my_server_ip/i-data/fd76dcd8/Video

Can i Change the Naming or make an Favorite, so that i don?t must go trough the path an directly stand in my destiniation Folder (Video,music,photo) ?!

The Names are very bad

Re: Naming of mountes NFS Share

Posted: Wed Nov 12, 2014 10:56 pm
by zoelechat
I think you should create a single topic and call it "all my problems" :D

In NFS script, find the line:

Code: Select all

M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")"
and replace it by

Code: Select all

M_POINT="$DEST_DIR/${i##*/}"
You can even get rid of /nfs/ folder by replacing as well:

Code: Select all

DEST_DIR=$MOUNT_PATH/nfs
by

Code: Select all

DEST_DIR=$MOUNT_PATH
Now you should directly have Virt.USB/video, music, photo

Re: Naming of mountes NFS Share

Posted: Wed Nov 12, 2014 11:39 pm
by Pimboli
lol...ok

Thx, that solved 1 of my many Problems ;-)

But i get a new Problem :-)
When i go to a File on my NAS Share, and then will Play it (movies, Music etc) the tv hangs and crashes :-(

Re: Naming of mountes NFS Share

Posted: Wed Nov 12, 2014 11:46 pm
by zoelechat
Are you using some exeDSP patches (I mean 99_9x_ scripts)? If yes, try to disable them all and see if it still crashes, then re-enable them one by one to see which one could be faulty. Else, no idea :)

Re: Naming of mountes NFS Share

Posted: Thu Nov 13, 2014 8:23 am
by Pimboli
i will try it. thx for your help!