LinHES Forums
http://forum.linhes.org/

Run "mount-a" at boot?
http://forum.linhes.org/viewtopic.php?f=6&t=19130
Page 1 of 1

Author:  DonLKSAB [ Tue Oct 21, 2008 2:04 pm ]
Post subject:  Run "mount-a" at boot?

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

Author:  slowtolearn [ Tue Oct 21, 2008 5:35 pm ]
Post subject: 

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)

Author:  jmckeown2 [ Wed Oct 22, 2008 3:02 pm ]
Post subject: 

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/