[Samba] SMBclient - can you map a drive to a partition?

Owen Jacobson ojacobson at 3sygma.com
Thu Jan 31 15:09:04 GMT 2002


From: "Sanjay" <svp011467 at yahoo.com>
To: <samba at lists.samba.org>
Sent: Thursday, January 31, 2002 2:23 PM
Subject: [Samba] SMBclient - can you map a drive to a partition?


>
> I want to thank everyone for your suggestions to my
> last post. I appreciate it.
>
> anyway,
> I'm looking for a way to use smbclient to
> map a Windows Share to a Linux partition?
>
> Thus:
>
> Box A - Linux
> Box B - Windows NT (contains a share called 'cdrive')
>
> when I am on Box A, and a I do  df, I would like
> to see /cdrive as one of the partitions?
>
> Is this possible?
>

Step the first:  create the share on the Windows machine.  Make a note of
the username and password, if applicable.  Name it "cdrive" or something
equally memorable.

Step the second:  On Box A, login as root and
 #  mkdir /mnt/cdrive
 #  smbmount //Box_B_Name/cdrive /mnt/cdrive

Enjoy!





More information about the samba mailing list