1. no thread hijacking please
2. the script posted by Cichas should go into a textfile on your pendrive for example /dtv/usb/sda1/SamyGO/nfsrec.sh
you only modify the first 3 lines (the stuff after the # is just a comment and doesn't count)
there you set the variable
NFSRECORDINGDIR="192.168.1.10:/volume1/Grabaciones"
and whenever a command in the script needs the path it calls it via $NFSRECORDINGDIR so you only have to insert your settings once, not everytime the info is needed...
Code: Select all
#Adjust following variable(s) to match your environment
NFSRECORDINGDIR="10.0.0.2:/TV_RECORDINGS"
SamyGO_USB="/dtv/usb/sda1"
FAKE_RECORDING_USB="/dtv/usb/sdb"
mkdir -p /tmp/xfs
mount -t nfs -o tcp,soft,nolock $NFSRECORDINGDIR /tmp/xfs
if [ ! -e /tmp/xfs/pvrimage ]; then
mkfs.xfs -f -d file,name=/tmp/xfs/pvrimage,size=1536m;
fi
insmod $SamyGO_USB/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/gadget/dummy_hcd.ko
insmod $SamyGO_USB/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/gadget/g_file_storage.ko file=/tmp/xfs/pvrimage
sleep 6
mount -o bind /tmp/xfs $FAKE_RECORDING_USB
if [ ! -e $FAKE_RECORDING_USB/CONTENTS/.PVRPfmChkLog ]; then
mkdir -p $FAKE_RECORDING_USB/CONTENTS
echo -n 1 >$FAKE_RECORDING_USB/CONTENTS/.PVRPfmChkLog
fi
btw.
if this stuff is too hard for you it might be better to simply follow the instructions here:
viewtopic.php?f=12&t=1332
before doing a step check if the files going to be created already exist in your storage.
and of course he refers to the scripts with remi71 in the filename
a lot of people were spending lots of hours to get SamyGO running and expanding, so i think for us, the users, it would be the least contribution to invest some time only reading and thinking to prevent them from being bothered with problems that already have been solved elsewhere
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS // >> decommissioned due to tuner death
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with
If you can't fix it using dvct tape, you are not using enough dvct tape.