From owner-freebsd-questions@FreeBSD.ORG Thu May 6 21:30:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2167C10656AD for ; Thu, 6 May 2010 21:30:41 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id D3AB78FC1A for ; Thu, 6 May 2010 21:30:40 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id o46LUUVm065356 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 6 May 2010 16:30:30 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4BE334F9.2020107@tundraware.com> Date: Thu, 06 May 2010 16:30:33 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: FreeBSD Mailing List References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (ozzie.tundraware.com [75.145.138.73]); Thu, 06 May 2010 16:30:30 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: o46LUUVm065356 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Accessing file from windows or to windows X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 21:30:41 -0000 On 5/6/2010 4:12 PM, Jean-Paul Natola wrote: > > > On 5/6/2010 3:47 PM, Jean-Paul Natola wrote: >> >> Hi all, >> >> I have a file I need in my bsd box, would it be easier, or is it possible, to mount an NTFS share , or should I try to "map" a directory from the windows box. >> >> >> TIA, >> >> I have >> >> Xp >> Win7 >> Win2003 >> Win2008 >> Freebsd 6.4 >> >> thanx > > > Same machine or two separate machines? > > Two separate machines is trivial - share > a directory on the Win machine and use smbfs > on FBSD to get to it. > > For same machine, boot FBSD, and do a mount > with -t ntfs as an arg .... well, I don't recall > if 6.4 supported this or not, now that I think about it. > > > One-time or frequent transfer? > > There are tons of other options, especially if you're running > separate machines. Not all of these are elegant, but they > all will work and have their place for infrequent transfers: > > - Email the file to yourself from one OS and retrieve it > from the other. > > - Copy the file to a thumbdrive > > - Copy the file to a private website which can then > be subsequently retrieved by another machine/OS > image. > > > -------------------------------------------------------- > > Well my book (absolute BSD) yes its old, says: > "writing to an NTFS partition may corrupt the partition" - I'm guessing this is not the case anymore > and to answer your question; > > 1. Its 2 separate machines > 2. As a security standard I have disabled flash drives in the office > 3. It will be a monthly taks > 4. No web access on the bsd box > Quite simple then: 1) Share the directory on the windows machine where the file of interest can be found. 2) Use FreeBSD's mount_smbfs command to access the Windows share over the network. Reading and writing over such a mount has been quite reliable in my experience. BTW, the quote to which you allude above wouldn't be relevant in your case. They're talking about a *single* machine that wants to mount an ntfs partition on the locally-attached hard drive. I'd be curious to know if it is still the case that ntfs writes are not reliable in that situation. There are times when doing this can be handy on a dual-boot laptop, for example. 'Anyone out there care to comment on the state of ntfs rw access? -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/