Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-06-2015, 07:49 PM   #1
Jayson Wonder
LQ Newbie
Registered: Dec 2008
Posts: 16

Rep: Reputation: 0
Auto Mount on Boot


I have installed a program called google-drive-ocamlfuse, it is used for accessing, syncing and google drive on my linux machine.

I have it installed and runnign perfectly. the oly problem is when I try to mount it automatically on boot.

I have made a script with the following:
google-drive-ocamlfuse -label $1 $*
exit 0
I made the file executable using:
chmod +x /usr/bin/gdfuse
I then edited /etc/fstab to include this:
gdfuse#default  /mnt/gdrive     fuse    allow_other     0       0
Then I used this command to try and mount it:
mount /mnt/gdrive
This does not mount automatically on boot. Can anybody tell me what I am missing or is required to mount automatically on boot.

Old 01-06-2015, 11:43 PM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You should read man page of fstab.

man fstab
You should give the auto option to fstab along with allow_other


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I auto-mount a drive at boot warkrime Linux - Newbie 7 08-03-2013 05:56 AM
[SOLVED] how to configure /etc/fstab with auto but do not mount it after boot up masuch Linux - Newbie 8 06-22-2012 05:16 AM
auto mount external hd on boot jaymoney Ubuntu 1 06-09-2008 11:20 AM
Auto-mount windows share on boot - manual OK, auto not ok! erskie Linux - Newbie 2 02-12-2008 07:42 PM
Auto Mount On Boot Win32 Shares zipur Linux - Networking 1 10-08-2002 03:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration