Mounting a Samab share at boot time

stan stanb at panix.com
Thu Jul 10 13:11:50 PDT 2003


I've got a boot up timing race issue.

Here is what I'm trying to do. I want to mount a Samba share from a remote
machine on boot up. Presently I have the appropriate entry in /etc/fsatb,
such that I can mount the share _once I am in multiuser_. I have figured
out how to get the smbfs kernel module loaded at boot time, using
/boot/loader.conf.

However, it appears that the remaining problem is that the NIC is not yet
configured when the startup scripts try to mount the file systems. Therefore
the system drops to a shell prompt since it can't mount _all_ the
file systems.

Seems like this issue would exist for NFS file systems that were staticly
mount (as opposed to automonted).

How can I get around this?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin


More information about the freebsd-questions mailing list