Koozali.org: home of the SME Server

How to mount networkshare at startup?

Offline sqlerror

  • ***
  • 50
  • +0/-0
How to mount networkshare at startup?
« on: January 23, 2006, 08:57:26 AM »
I mount a windoooz (smb) share to present it's content via a website on our SME6.

But i always forget to remount this share in the rare case that de SME6 needs a reboot. Is there a way to mount the share at startup?

Sqlerror

Offline byte

  • *
  • 2,183
  • +2/-0
How to mount networkshare at startup?
« Reply #1 on: January 23, 2006, 10:09:41 AM »
You will need to make an entry in the /etc/fstab
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline sqlerror

  • ***
  • 50
  • +0/-0
How to mount networkshare at startup?
« Reply #2 on: January 23, 2006, 03:53:56 PM »
Quote from: "byte"
You will need to make an entry in the /etc/fstab

Byte, I was that far, how could I otherwise mount the share?

Got this in my /etc/fstab:

//mindpower/htmlout /mnt/htmlout smbfs username=admin,password=password

Running mount /mnt/htmlout manually works as intended.

But how to modify this entry in /etc/fstab so that this mount starts at startup? Cannot see that this goes in /etc/fstab beceause the network and smaba need to be up first.

How to mount this networkshare at startup?

Sqlerror