Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #remount the root filesystem rw so that we can create the mountpoint
- /sbin/busybox mount -o remount,rw /
- #create the mountpoint
- /sbin/busybox mkdir -p /mnt/nfs/Download
- #make the mountpoint world readable so that all user apps can access it
- /sbin/busybox chmod 777 /mnt/nfs
- /sbin/busybox chmod 777 /mnt/nfs/Download
- #remount / as ro
- /sbin/busybox remount,ro /
- #mount the actual NFS share (on 192.168.1.5:/DataVolume/Download
- su --mount-master -c "/sbin/busybox mount -o nolock,ro,hard,intr,vers=3 -t nfs 192.168.1.5:/DataVolume/Download /mnt/nfs/Download"
- #check that it was mounted
- mount | grep /mnt/nfs/Download
Add Comment
Please, Sign In to add comment