[Samba] Mounting smbfs as guest at boot time

Joel Hammer Joel at HammersHome.com
Thu Feb 28 04:29:03 GMT 2002

I think that rc.local is the last thing to run during the boot process.
The only environmental catch I know about during startup is the PATH
statement, which is not available during boot. So, you have to specify
the complete path names to all your files and programs.


On Thu, Feb 28, 2002 at 12:11:20PM +0000, Sue Spence wrote:
>  --- Joel Hammer <Joel at HammersHome.com> wrote: > Have
> you tried putting your mount command in
> > rc.local?
> Yes. Isn't that actually earlier in the boot process
> than putting something like "mount -at smbfs" in the
> "start" section in /etc/init.d/smbfs (which is then
> executed when going to runlevel 2 because it is linked
> as S11smbfs in /etc/init.d/rc2.d)?
> There must be some minor but crucial environment
> difference between being anywhere in the boot process
> and being logged in which causes mounts as guest to
> fail. I would love to find out how to fix it, if
> possible.
> Best regards,
> Sue Spence
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com

More information about the samba mailing list