From owner-freebsd-questions@FreeBSD.ORG Sat Mar 31 08:56:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E4A4716A401 for ; Sat, 31 Mar 2007 08:56:18 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 79C8F13C45D for ; Sat, 31 Mar 2007 08:56:11 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id SAA05195; Sat, 31 Mar 2007 18:55:56 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 31 Mar 2007 18:55:55 +1000 (EST) From: Ian Smith To: Ivan Zenzerovi? In-Reply-To: <20070331074608.CB2E116A404@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Derek Ragona Subject: Re: Mounting NTFS drive/partition 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: Sat, 31 Mar 2007 08:56:19 -0000 On Fri, 30 Mar 2007 18:54:13 +0200 " Ivan Zenzerovi? " wrote: > Ok, I think I understand, but tell me, is there any way I can read those > partitions from freebsd? If this helps, on that disk are no windows, there > are 3 ntfs partitions. > > Ivan > > On 3/30/07, Derek Ragona wrote: > > > > You are able to mount the primary partition, not the extended > > partitions. This is a also a limitation mounting ms-dos fat drives. The > > extended partitions are done differently and are outside the partition > > table. I'm surprised if there's any problem mounting either msdosfs or ntfs 'drives' in 'extended partitions' nowadays? There certainly wasn't in FreeBSD 4.x, when I managed to get mount_hpfs going to salvage a number of HPFS 'drives', all of which lived in the 'extended partition'. The HPFS code (still in the source tree last I checked, but not compiled by default) was written by Semen Ustimenko , who also wrote the (then) NTFS code; the two shared lots of cut-n-paste. It's true that information on this is a bit sketchy and harder to find, but basically an 'extended partition' (in DOS parlance) uses one of the four slices on a disk, for example let's say ad0s2, and the separate 'drives' that might appear as D:, E:, etc to DOS/'doze would be then accessed as ad0s5, ad0s6 etc. > > At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote: > > > > Hi, > > > > I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees > > the > > second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on > > that disk there are 3 ntfs partitions and the system doesn't see them. On > > windows they work fine. Try mount_ntfs using ad1s5, ad1s6 and ad1s7 then, read-only for safety. >From a 2004 fstab on one 4.10 system: /dev/ad2s5 /hpfs hpfs ro,noauto 0 0 Cheers, Ian