Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 13:18:49 +0100
From:      Pete French <petefrench@ticketswitch.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Mounting SMB filesystems at boot time
Message-ID:  <E1FghSr-00036u-SK@dilbert.firstcallgroup.co.uk>

next in thread | raw e-mail | index | archive | help
Have just changed a machine from 4.11 to 6.1 by re-installing. It all
works fine, but I cannot work out how to make the SMB filesystems in fstab
mount at boot time.

I used to do this by copying /usr/src/contrib/smbfs/examples/smbfs.sh.sample
to one of the rc directories, but this script does not seem to exist under
6.1. Some googling lead me to comments that adding the line

extra_netfs_types="smbfs:SMB"

to rc.conf would do the trick, but that doesnt work either.

When the system is mounted I can just type 'mount -a' and they all
mount fine though! I suppsoe I could copy the 4.11 script over, but I
am sthere must be a "correct" way to do this under 6.1. ? The man page
simply says to add the lines to fstab.

-pcf.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FghSr-00036u-SK>