Derek Ragona wrote:
> It is not clear what you are trying to do.  Are you
mounting Windows 
> shares on a FreeBSD server?  Or mounting FreeBSD
samba shares onto a 
> Windows XP client?
> 
>         -Derek
> 
> 
> At 10:35 AM 3/7/2007, Daniel Feenberg wrote:
> 
>> We are starting to use mount_smbfs to mount backup
shares on our 
>> Windows XP systems. Formerly we were using Linux
successfully, but now 
>> many of our mounts succeed, but don't show any
files.  We can't tell 
>> what might be different among the XP systems to
explain the 
>> difference, or why FreeBSD and Linux should be
different in this regard.
>>
>> Demonstration (note that "ls /mnt" shows no files,
but there are files):
>>
>> backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt
>> Password:
>> backup2# ls /mnt
>> backup2# df /mnt
>> Filesystem            1K-blocks     Used    Avail
Capacity  Mounted on
>> //[EMAIL PROTECTED]/BACKUP  36659328 13238176 23421152  
 36%    /mnt
>> backup2# mount_smbfs -v
>> mount_smbfs: version 1.1.0
>> backup2# uname -a
>> FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0:
Fri Jan 12 
>> 10:40:27 UTC 2007 
>>
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386
>>
>> Thanks
>>
>> Daniel Feenberg
>> feenberg isat nber dotte org
>>
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "[EMAIL PROTECTED]"
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>> MailScanner thanks transtec Computers for their
support.
>>
> 

 Hi Daniel,

 If you look at 'man mount_smbfs' you'll see in the
examples they recommend using the '-I' option to
specify the name (or IP address) of the host machine.
This method works for me, mounting Windows XP
shared-directories onto my FreeBSD 6.1-STABLE machine.

  So you would try a command like....

 mount_smbfs -I rm316.DOMAINNAME.TLD  
//[EMAIL PROTECTED]/backup /mnt

  You can also mount the filesystem automatically by
adding a line to your /etc/fstab file,

//[EMAIL PROTECTED]/backup  /mnt   smbfs 
rw,noauto 0   0


  Hope this helps.

   Ken




        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to