LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  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


Hi,

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:
Code:
#!/bin/bash
google-drive-ocamlfuse -label $1 $*
exit 0
I made the file executable using:
Code:
chmod +x /usr/bin/gdfuse
I then edited /etc/fstab to include this:
Code:
gdfuse#default  /mnt/gdrive     fuse    allow_other     0       0
Then I used this command to try and mount it:
Code:
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.

Thanks,
 
Old 01-06-2015, 11:43 PM   #2
veerain
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.

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


Reply


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


All times are GMT -5. The time now is 09:11 AM.

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