From owner-freebsd-questions@FreeBSD.ORG Thu Jun 25 18:48:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46B541065672 for ; Thu, 25 Jun 2009 18:48:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 069828FC21 for ; Thu, 25 Jun 2009 18:48:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-8-131.dynamic.qsc.de [92.195.8.131]) by mx01.qsc.de (Postfix) with ESMTP id E4C9E3D157; Thu, 25 Jun 2009 20:48:28 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5PImNKv001966; Thu, 25 Jun 2009 20:48:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 25 Jun 2009 20:48:23 +0200 From: Polytropon To: Zbigniew Szalbot Message-Id: <20090625204823.bfe937ef.freebsd@edvax.de> In-Reply-To: <4A43C2E8.6000602@lcwords.com> References: <4A43C2E8.6000602@lcwords.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mounting network NTFS drive on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 18:48:30 -0000 On Thu, 25 Jun 2009 20:33:12 +0200, Zbigniew Szalbot wrote: > Hello, > > I am trying to figure out how to mount a network NTFS drive > (192.168.16.3\backups) on a FreeBSD system. > > Can you point me to the appropriate documentation? The Handbook mentions > the mount command but I am not sure I can do it using mount? Or can I? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html > > Thank you very much in advance! Because "Windows" does not conform to standards, you have to use mount_smbfs. As far as I understood, it doesn't even matter which file system is on the "Windows" disk. I will give an example. First, set up those in your /etc/fstab (makes things more easy): //Administrator@NTWS2KXX/a$ /smb/a smbfs rw,noauto 0 0 //Administrator@NTWS2KXX/c$ /smb/c smbfs rw,noauto 0 0 //Administrator@NTWS2KXX/d$ /smb/d smbfs rw,noauto 0 0 //Administrator@NTWS2KXX/e$ /smb/e smbfs rw,noauto 0 0 //Administrator@NTWS2KXX/f$ /smb/f smbfs rw,noauto 0 0 Then, make /etc/nsmb.conf look like this: [default] workgroup=ARBEITSGRUPPE [NTWS2KXX] addr=192.168.16.3 [NTWS2KXX:Administrator] password= You can then simply issue # mount /smb/c You can check out manpages for: mount_smbfs fstab nsmb.conf Then, I'm sure, how you can add a directory name as you mentioned above (\backups). I think that's possible, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...