View Single Post
Old 05-03-2013, 06:40 AM   #78
spMatti
Member
spMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to beholdspMatti is a marvel to behold
 
Posts: 20
Karma: 11978
Join Date: Feb 2013
Location: Finland
Device: Kobo Touch
Quote:
Originally Posted by dgvirtual View Post
Well, you cannot syncronize only one directory inside Google Drive, - that is a Grive (or maybe - Google Drive as such) limitation, but you certainly can mount only one directory among those you have syncronized using Grive That was the essence of my request.
This script is responsible for mounting the sd:
https://github.com/softapalvelin/kob.../virtual_sd.sh

So, if you change this line
Code:
mount --bind $grive_sync_settings/sd /mnt/sd
to
Code:
mount --bind $grive_sync_settings/sd/subdir /mnt/sd
then only "subdir" from google drive is visible in the virtual sd card.
spMatti is offline   Reply With Quote