[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Automounting SMB shares
At 11:39 22/07/02 +0100, Chris J wrote:
>A quick read of mount(8) says that for some filesystems, smbfs included,
>mount will spawn an application to do the actual mount. This app will be
>named /sbin/mount.<fstype>. So for smbfs shares, you need to ensure you have
>a program in sbin called mount.smbfs. This may simply be a symlink to
>smbmount, or a shell script that will call setup the call to smbmount.
>
>Now reading smbmount(8), there are a number of options; username=,
>password=, netbiosname=, workgroup=, amongst a large number of others, that
>you may also need to use.
>
>I would assume that mount will pass the options in fstab on to mount.smbfs
>... but I'm not sure how that all would tie in. Needs more digging, but all
>the info should be in the man pages.
I don't have a problem with this, I can construct a command with the
appropriate parameters etc. What I want to do is automate the process so
that the users can access the share without consciously having to mount it
first. That's why I originally considered putting the command in
etc/init.d/boot.local.
BTW cat /proc/filesystems indicates that smbfs is indeed compiled into the
kernel.
Cheers
Steve
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.