You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
google-drive-ocamlfuse does not work in my case, because it searches for files which do not exist on my GoogleDrive,
therefore google-drive-ocamlfuse ends with an error.
the solution is, to put it in debug mode, send the output to /dev/null and send it to the background.
with this command, the drive is not mounted :
srvadmin@lxc-pydev:~$ google-drive-ocamlfuse -o allow-other /home/srvadmin/GoogleDrive
srvadmin@lxc-pydev:~$ cd ~/GoogleDrive
bash: cd: /home/srvadmin/GoogleDrive: Der Socket ist nicht verbunden
with this command, the drive is mounted, but You can see that it throws an error -2 because it can not find autorun.inf (because it does not exist on my GoogleDrive). The process continues to run, because it is in foreground mode, and the drive mounts fine:
** solution 1 **
create the missing file, in this case autorun.inf on the GoogleDrive - which i dont like
** solution 2 **
create the file /usr/bin/gdfuse like described in Automounting
and change the content to :
#!/bin/bash
# /usr/bin/gdfuse
# original :
# su $USERNAME -l -c "google-drive-ocamlfuse -label $1 $*"
# su srvadmin -l -c "google-drive-ocamlfuse -label $1 $*"
# bitranox note :
# However, google-drive-ocamlfuse expects the file autorun.inf
# on Google Drive - if it does not exist, google-drive-ocamlfuse simply stops.
# In debug mode, it does not stop, so we redirect the output to >/dev/null
# and send the task to the background with "&".
# su srvadmin -l -c "google-drive-ocamlfuse -d -label $1 $*" > /dev/null 2>&1 &
# or better :
su srvadmin -l -c "google-drive-ocamlfuse -f -label $1 $*" > /dev/null 2>&1 &
exit 0
The text was updated successfully, but these errors were encountered:
google-drive-ocamlfuse
does not work in my case, because it searches for files which do not exist on my GoogleDrive,therefore
google-drive-ocamlfuse
ends with an error.the solution is, to put it in debug mode, send the output to
/dev/null
and send it to the background.with this command, the drive is not mounted :
with this command, the drive is mounted, but You can see that it throws an
error -2
because it can not findautorun.inf
(because it does not exist on myGoogleDrive
). The process continues to run, because it is in foreground mode, and the drive mounts fine:** solution 1 **
create the missing file, in this case
autorun.inf
on theGoogleDrive
- which i dont like** solution 2 **
create the file
/usr/bin/gdfuse
like described in Automountingand change the content to :
The text was updated successfully, but these errors were encountered: