TuskenTower on 4 Oct 2007 19:58:22 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] where is the mount point?

  • From: TuskenTower <tuskentower@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] where is the mount point?
  • Date: Thu, 4 Oct 2007 15:58:18 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=12oWZRKFQfaFAVKulKzUtjOMOmB3q9c/x38CczFohC8=; b=NvmvvK/PhMB5GyNqQ7Z0h5EW8sVlGbmTkMf+dD1SP/Lh+0etDraaAmqZllJfMnfVyOZSPJPL4GNHf/t5RmAYoCV6FSBQUb5E9gbcmGHNMjjBxn0Fn5BBKQdAnsAGk+s0qccCvE9yG7YIHNxqPAvJFoOsAwhXSPJ4mA6kiM41UkU=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

On 10/4/07, Matt Mossholder <matt@mossholder.com> wrote:
> On Thu, 2007-10-04 at 13:38 -0400, Brent Saner wrote:
> > Sonny-
> > for what it's worth, i believe you can mount Samba like NFS (in
> > windows it's called "mapping a drive")... but i'd love to hear some
> > confirmation on this from the samba geeks in here.
> >
> > if you're anxious, i'm SURE it's in the documentation
> >
>
> Oh, it definitely can be done, it just doesn't work the same way :)
>
> Googling for smbfs and fstab will show the way...
>
The filesystem is not mounted.  Gnome, and I guess KDE, use smbclient
libraries to connect to the SMB share (works like an FTP session).  I
found this out when I wanted to know the same thing.

HTH
Amul


On our internal wiki I have some tips:

-Look up NetBIOS Services
smbclient -L HOSTNAME -U DOMAIN/username

Where HOSTNAME is the NetBIOS Hostname (aka Samba Hostname) or the
host's IP address.

-Conenct to a Windows Share like its an FTP session
smbclient -U NA/username //HOST/share

-Connecting to a Windows Share
mount -t smbfs -o username=USERNAME/DOMAIN,rw //HOSTNAME/SHARE MOUNT_POINT

If you are using sudo be sure to specify your user and group IDs
otherwise the mount will be owned by the root user!

sudo mount -t smbfs -o username=USRNAME/DOMAIN,uid=`id -u`,gid=`id
-g`,rw //HOSTNAME/SHARE MOUNT_POINT
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug