Page 1 of 2

Re: TV almost out of memory "Contents of CL library" move

Posted: Wed Jan 19, 2011 12:39 pm
by juusso
yes, you can. Use samygo.sh and:

Code: Select all

mount --bind /mtd_tlib/GGame/ /IP:/mnt/point/GGame (NFS share) 
Or you can mount whole /mtd_tlib/ if you want.

Re: TV almost out of memory "Contents of CL library" move

Posted: Wed Jan 19, 2011 4:22 pm
by juusso
1. You need patched firmware on board with advandced (a) option in patcher.
2. You need to manualy create file samygo.sh on /mtd_rwarea/
3. You need give permissions for execution (chmod 755 /mtd_rwarea/samygo.sh)
4. You need export directory with games(just copy of /mtd_tlib/GGame/) on your NAS to TV
5. mount over NFS exported dir.
6. mount --bind mounted NFS share as /GGame

example:
NAS IP: 192.168.1.200
TV IP: 192.168.1.100
You have NFS server running on NAS,
exports file:

Code: Select all

root@LS-GL984:~# cat /etc/exports
/mnt/disk1/TV/mtd_tlib 192.168.1.100/255.255.255.0(rw,async,all_squash,anonuid=99,anongid=99,no_subtree_check)
and your GGame is copied to /disk1/TV/mtd_tlib/GGame on NAS, command to write to samygo.sh should be:

Code: Select all

mkdir /dtv/nfs #create mount dir where share is mounted to. 
mount -o nolock 192.168.1.200:/mnt/disk1/TV/mtd_tlib/GGame /dtv/nfs -t nfs #mount share over NFS
mount --bind /dtv/nfs /mtd_tlib/GGame #replace TV`s GGame folder with mounted folder from NAS
But be sure your NAS is always on, if TV does not find it, it uses GGames from original place.

p.s. I think it should work on TV start, i have tested it just by entering commands to console. It is easy to copy games to "TV" because you operate on your NAS actualy :D

Re: [Not solved]TV almost out of memory "Con of CL library" move

Posted: Thu Jan 20, 2011 8:25 am
by juusso
look at my example. I think you need read more about NFS shares, take easy else you brick TV with samygo.sh.
Read wiki first:
http://wiki.samygo.tv/index.php?title=H ... tup_script
http://wiki.samygo.tv/index.php?title=M ... ypass_DLNA
http://wiki.samygo.tv/index.php?title=M ... ypass_DLNA

And read your NAS forum how to set up NFS server and configure it. Here i can`t help you.
Of course you can use samba shares, not NFS, it is your choice.
mkdir: Cannot create directory `/dtv/nfs': File exists
error you get because folder exist (i do not know what is your full samygo.sh and another scripts like).

And please, use text formatting tools for code, thank you.

Re: [Not solved]TV almost out of memory "Con of CL library" move

Posted: Thu Jan 20, 2011 10:27 pm
by juusso
1. mount your samba share to /dtv/bla bla bla
2. mount --bind your mounted on /dtv/bla bla bla share as /GGame

You can`t mount --bind directly from NAS, ok?