From owner-freebsd-chat Sat Jan 2 05:34:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA18624 for freebsd-chat-outgoing; Sat, 2 Jan 1999 05:34:44 -0800 (PST) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from post.mail.demon.net (post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA18615; Sat, 2 Jan 1999 05:34:42 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.10 #2) id 0zwRBv-000599-00; Sat, 2 Jan 1999 13:34:09 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id NAA01511; Sat, 2 Jan 1999 13:33:38 GMT Received: from uk.radan.com (rasnt-1) by beavis.uk.radan.com (4.1/SMI-4.1) id AA07010; Sat, 2 Jan 99 13:33:35 GMT Message-Id: <368E1EFB.918A2BF7@uk.radan.com> Date: Sat, 02 Jan 1999 13:28:27 +0000 From: Mark Ovens X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en-GB Mime-Version: 1.0 To: chat@FreeBSD.ORG Cc: questions@FreeBSD.ORG, freebsd-uk-users Subject: Accessing NTFS partitions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Although this is not a question, I've CC:'d this to -questions because of it's technical nature and because there are a lot of questions asked here about running FreeBSD and Win* on the same box so people may find it useful. Hidden away on freebsd.org there is a link to a Russian University website (http://iclub.nsu.ru/~semen/ntfs/ntfs.html) which has an NTFS driver for FreeBSD. The latest version (ntfs-releng22-0.9beta.tgz) works for 2.2.x and 3.x. I thought I'd let you know that I've d/l'd and installed this and it works superbly, I can now see my NTFS drive :-), which is useful as I have a habit of d/l stuff or saving Web pages relating to FreeBSD when I'm in NT and forgetting to save them to a FAT partition, so when I boot FreeBSD I can't find them. There are a few points to note about using this driver: You cannot build everything with a single ``make''. There is very minimal documentation with the code, just a README. The code needs to be copied manually to the /usr/src/sys tree There are files for patching malloc.h, mount.h, & vnode.h. This means that you will need to re-build your kernel (no mods are required to the config file). In order to make mount_ntfs the file mntopts.h is required. If you haven't installed all the sources it can be found in the /src/ssbin.* archive an the first CD-ROM. ``make install'' for the lkm and the mount_ntfs binary didn't work properly as it used the ``-c'' option which isn't valid (in the 2.2.8 install anyway, maybe valid with 3.0?) and also doesn't give a dest dir. You'll need to do it manually. You may need to make the device nodes for your NTFS partition. Remember that if it is in a logical drive in an extended partition that the slices for the extended partition start at 5, i.e. [sw]d0s5. The driver, whilst working fine, is somewhat inconsistent in it's use of long and short (8.3) filenames, e.g. ls on my system lists both ``PROGRA~1'' and ``Program Files'' in the (NTFS) root dir. I can ``cd'' to either and the ``pwd'' returns ``/ntfs/Program Files'' in both cases. As best I can work out this appears to only happen when the long name starts with an upper-case letter. At the moment the driver is read-only :-(, but the author, Ustimenko Semen, is planning to develop it to be read/write :-). Don't forget to mount it read-only (use the ``ro'' option in /etc/fstab). If you think you need NTFS access I hope the above is of use to you. I will try and put together a step-by-step FAQ/HowTo over the next few days. Enjoy. -- Trust the computer industry to shorten Year 2000 to Y2K. It was this thinking that caused the problem in the first place. Mark Ovens, CNC Applications Engineer, Radan Computational Ltd Sheet Metal CAD/CAM Solutions mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message