Web Content Display

Getting started

Mounting a device refers to the process that makes files and directories on a storage device available for user to access via the computer’s file system. This requires that the operating system acquires access to the storage medium: recognizing, reading and processing the information contained before registering it to the virtual file system (VFS).


A mount point is the location in VFS of the mounted medium.


Unmounting is the exact opposite process of mounting, consisting in the OS cutting off all user accesses to files and directories on the mount point. In this tutorial we will learn how to mount our GoogleDrive storage as a local folder so that we can just drag and drop items directly from our file system.

Mounting Google Drive Linux

We will use the google-drive-ocamlfuse package for linux. To install it, open a terminal (CTRL+ALT+T) and proceed with the following:


$ sudo add-apt-repository ppa:alessandro-strada/ppa

$ sudo apt-get update

$ sudo apt-get install google-drive-ocamlfuse


If you do not want to type your password many times, then do:


$ sudo su

$ add-apt-repository ppa:alessandro-strada/ppa

$ apt-get update

$ apt-get install google-drive-ocamlfuse


When we run this application for the first time, we should do it without parameters:


$ google-drive-ocamlfuse


This will create the default application directory (~/.gdfuse/default), which contains the configuration file. It will also start a web browser to obtain authorization to access your Google Drive.


In case you get stuck at any point, you can use the command $ google-drive-ocamlfuse -help to get all the command options available.


To mount the filesystem, use $ google-drive-ocamlfuse mountpoint. Where mountpoint is the location or directory where we want to create our mount point.

Furthermore, if we want to use multiple accounts, we can run:


$ google-drive-ocamlfuse -label label [mountpoint]


The use of label will allow to distinguish between different accounts. In this case, the program will use the directory ~/.gdfuse/label to host configuration, application state, and file cache. You can have a different configuration for each one account.


Finally, if we want to unmount the file system, we should use:


$ fusermount -u mountpoint


Mounting Google Drive Windows / Linux

For these two operating systems, we will use Google’s Drive file Stream. First, download your installer from the website (either *.exe for Windows or *.dmg on Mac). You can find it here.


Before you proceed with the installation, consider the following recommendations:

  • Uninstall Drive for Mac/PC and Backup and Sync in your organization.
  • Delete the Google Drive folder at \Users\%USER%\Google Drive using caution deleting, because the folder may contain content that has not yet been saved or synced.




Run the installer in silent mode. For that, open a command prompt, move to the location where you downloaded the installer and run this command:


GoogleDriveFSSetup --silent




Open a terminal, move to the location where you downloaded the installer and run:


sudo installer -store -pkg GoogleDriveFileStream.dmg -target


In both cases, after a few moments, a web browser window will open aksing you to login to your Google Drive account. Login and wait for synchronisation.