View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Run "mount-a" at boot?
PostPosted: Tue Oct 21, 2008 2:04 pm 
Offline
Joined: Mon May 10, 2004 10:35 pm
Posts: 46
Hi.

I have a NTFS drive that refuses to mount at boot.
But a "mount -a" always works.
But its a pain to need to do that every time i boot.
So is there a way to auto run a "mount -a" after the boot is done?

/DonLKSAB


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2008 5:35 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
As this is not an installation issue this thread may disappear but yes, you can add a script in the /etc/rcX.d hierarchy where appropriate that could simply run mount -a for you. I have a similar script in /etc/rc5.d that contains the following for an NFS mount:
Code:
#!/bin/sh
mount -t nfs slackbox:/VG/Myth /Slack
(Be sure to make the script executable)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 22, 2008 3:02 pm 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
Not to shove y'all in another direction, but is there a reason autofs (/etc/init.d/autofs) can't automount your volumes? I've been using this for samba shares from a d-link NAS and it's pure gold for me.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu