TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:3706] smb mount / automount
If you look further down in the man page of 'mount'
you see it doesn't support smbfs (at least the
version I have doesn't).
Mount options for smbfs
Just like nfs, the smb implementation expects a binary
argument (a struct smb_mount_data) to the mount system
call. This argument is constructed by smbmount(8) and the
current version of mount (2.6c) does not know anything
about smb.
What I do is just put a line in rc.local to mount
drives when the machine starts up. It's not
in fstab but it works.
Tim
---Ben Luey <lueyb@carleton.edu> wrote:
>
> man mount claims to have smbfs suport:
>
> but I don't know how to get it to work.
>
> Thanks,
>
> Ben
>
> -t vfstype
> The argument following the -t is used to indicate
> the file system type. The file system types which
> are currently supported are listed in
> linux/fs/filesystems.c: minix, ext, ext2, xiafs,
> hpfs, msdos, umsdos, vfat, proc, nfs, iso9660,
> smbfs, ncpfs, affs, ufs, romfs, sysv, xenix, coher-
> ent. Note that the last three are equivalent and
> that xenix and coherent will be removed at some
> point in the future -- use sysv instead. Since ker-
> nel version 2.1.21 the types ext and xiafs do not
> exist anymore.
>
>
>
> On Mon, 25 Jan 1999 schewe@tcfreenet.org wrote:
>
> > On 25 Jan, Ben Luey wrote:
> > > Can I add samba shares to /etc/fstab? How? I tried
> > >
> > > "//computer/share name" /mnt/blah smbfs
> > >
> > > but it didn't work (generic error of not supported in kernel or
to many
> > > mounted systems etc). I'm afraid that the share name has a space
in which
> > > might make that harder.
> > >
> > > Also, the kernel is 2.0.35 and doesn't have autofs, can I
compile the
> > > module (or have someone e-mail it to me) and use modprobe to
load it, or
> > > do I need to recompile the computer? I'd like to use autofs for
smb
> > > shares.
> > >
> > You can't. If it's in /etc/fstab the system uses mount to mount the
> > filesystem. Unless you have a copy of mount that knows what to do
with
> > smbfs, which I haven't seen, you're out of luck. I'd like to do the
> > same thing, but I've just given up and type it in everytime.
> >
> > --
> > Jon Schewe
> > schewe@tcfreenet.org
> > http://tcfreenet.org/~schewe
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
tclug-list-unsubscribe@listserv.real-time.com
> > For additional commands, e-mail:
tclug-list-help@listserv.real-time.com
> > Try our website: http://tclug.real-time.com
> >
>
> Ben Luey
> lueyb@carleton.edu
> ICQ: 19144397
>
> Political power grows out of trhe barrel of a gun." -- Mao Tse-tung
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail:
tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
>
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com