Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting windows drives with samba
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
btned
n00b
n00b


Joined: 09 Feb 2004
Posts: 23
Location: Arlington, TX

PostPosted: Sat Feb 14, 2004 7:39 pm    Post subject: Mounting windows drives with samba Reply with quote

hi all,
I am running kernel 2.6 and wondering if I have to include kernel level support for samba if I want to mount windows drives. I have already emerged samba. It would be very nice if somebody could post the steps needed to mount samba drives.
Thanks
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sat Feb 14, 2004 7:51 pm    Post subject: Re: Mounting windows drives with samba Reply with quote

btned wrote:
hi all,
I am running kernel 2.6 and wondering if I have to include kernel level support for samba if I want to mount windows drives.

Yes.
btned wrote:
I have already emerged samba.

The samba package is not needed to use a windows share over the network.
Smbfs is a network filesystem built right into the kernel, like nfs.

btned wrote:
It would be very nice if somebody could post the steps needed to mount samba drives.
Thanks


Code:
mount -t smbfs //hostname/sharename /mount/point

man mount for the smb options to provide a username etc.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
mvbv-linux
n00b
n00b


Joined: 15 Dec 2003
Posts: 50
Location: Belgium

PostPosted: Sat Feb 14, 2004 8:49 pm    Post subject: Reply with quote

I had a problem regarding this. As long as I hadn't done an emerge of samba, I couldn't mount windows shares (support of smb in kernel activated). After emerging, everything went ok...

https://forums.gentoo.org/viewtopic.php?t=129003&highlight=

So I'm pretty sure now that you'll have to have samba on your box if you want to use mount -t smfs.
As vdboor said (check the thread above) :
Quote:
To mount a smb share, the mount command calls mount.smbfs somewhere... and this doesn't exist until you install samba


I think he was right...
Back to top
View user's profile Send private message
btned
n00b
n00b


Joined: 09 Feb 2004
Posts: 23
Location: Arlington, TX

PostPosted: Sat Feb 14, 2004 11:26 pm    Post subject: Reply with quote

Thank you,
I am able to mount the drives using smbmount.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Feb 16, 2004 9:35 pm    Post subject: Reply with quote

mvbv-linux wrote:
I had a problem regarding this. As long as I hadn't done an emerge of samba, I couldn't mount windows shares (support of smb in kernel activated). After emerging, everything went ok...

https://forums.gentoo.org/viewtopic.php?t=129003&highlight=

So I'm pretty sure now that you'll have to have samba on your box if you want to use mount -t smfs.
As vdboor said (check the thread above) :
Quote:
To mount a smb share, the mount command calls mount.smbfs somewhere... and this doesn't exist until you install samba


I think he was right...


Which makes me wonder what the smbfs support in the kernel actually does.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
mvbv-linux
n00b
n00b


Joined: 15 Dec 2003
Posts: 50
Location: Belgium

PostPosted: Wed Feb 18, 2004 6:42 am    Post subject: Reply with quote

Well, I wonder too...
Maybe having a look in the sources will bring us some answers.
Somebody already posted this questions somewhere else :

http://www.ussg.iu.edu/hypermail/linux/kernel/9509/0058.html

But never got any answer ! (Btw, check the date of the message 8O )
Back to top
View user's profile Send private message
Dont know anything
n00b
n00b


Joined: 13 Jun 2003
Posts: 60

PostPosted: Wed Feb 18, 2004 10:29 am    Post subject: Reply with quote

As far as i know smbfs suport in kernel adds just that.
Ever tried mountig it without? 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum