From owner-freebsd-current@FreeBSD.ORG Sun Oct 21 23:50:38 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BCB5BE3; Sun, 21 Oct 2012 23:50:38 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id BEB418FC08; Sun, 21 Oct 2012 23:50:37 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so1684732lbd.13 for ; Sun, 21 Oct 2012 16:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9p+eCqv0P7ii5H0A++g7e0HRIZD8VApT4yZNoTNqgWg=; b=YS3lCgJQ6CJecH8lPK/+o493GYmgdkPU4RdhdhIcFa8PUdv9ddRemeP7n8145PntLB snSaBsdKIpan3KO5AT5wtLH5UPO6YXR+sG3eM/0np/u86BjKYu4Uc0phGBizF+diaXNj KqTFU7UW8yuG1kqONABDdYuPgbigECjHkeoJOU6m0yPv9Pfo4QPY1VeZZqSeG7A7qS/I LI3KljTBLRvrAO3a0BHYsbR+Ce8/Jlw4JhE33KXebpdzi5OqBVK9NggmNmtg1dwhtgXT 8bh8A3v9yQ6I3wRmlCNd0eQGtnOlqvq0Wi/ilGYexUSZkptjjWvgt9wIB4TuiDpVgzGk 6xxg== MIME-Version: 1.0 Received: by 10.152.105.103 with SMTP id gl7mr6601263lab.10.1350863436740; Sun, 21 Oct 2012 16:50:36 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.30.37 with HTTP; Sun, 21 Oct 2012 16:50:36 -0700 (PDT) In-Reply-To: <20121021221030.77C5AD4808C@smtp5-g21.free.fr> References: <20121021221030.77C5AD4808C@smtp5-g21.free.fr> Date: Mon, 22 Oct 2012 00:50:36 +0100 X-Google-Sender-Auth: OSjTjTPwndQ03rwguIYWpfp7bmQ Message-ID: Subject: Re: mounting ntfs partition From: Attilio Rao To: Raoul MEGELAS Content-Type: text/plain; charset=UTF-8 Cc: Florian Smeets , George Neville-Neil , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 23:50:38 -0000 On Sun, Oct 21, 2012 at 11:10 PM, Raoul MEGELAS wrote: > On Sun, 21 Oct 2012 22:58:00 +0100 > Attilio Rao wrote: > > On Sun, Oct 21, 2012 at 10:55 PM, Raoul MEGELAS wrote: >> On Sun, 21 Oct 2012 22:07:36 +0100 >> Attilio Rao wrote: >> >>>On 10/21/12, Raoul MEGELAS wrote: >>>> On Sun, 21 Oct 2012 14:04:46 +0100 >>>> Attilio Rao wrote: >>>> Hi Attilio, >>>> >>>> >>>>> On Sun, Oct 21, 2012 at 12:53 PM, Raoul wrote: >>>>> Hi, >>>>>> >>>>>> Trying to mount a partition from type ntfs >>>>>> with the following conditions i get: >>>>>> >>>>>> R241700, with fusefs-libs in sync. >>>>>> >>>>>> kldload fuse >>>>>> fuse loaded >>>>>> mount -t ntfs /dev/daXsX >>>>>> not supported! >>>>>> mount_ntfs /dev/daXsX >>>>>> no such file or directory! >>>>>> >>>>>> in the second case, truss will report: >>>>>> sysctl "", ... >>>>>> which mean that the path is empty of course. >>>>>> >>>>>> Perhaps i miss something??? >>>>> >>>>>Try >>>>> >>>>> ntfs-3g /dev/daXsX /mnt/ntfs/ >>>> >>>> ntfs-3g crashes in the following environment: >>>> mac x86/64 hardware, running an external usb drive with a freebsd partition >>>> (da0s3; >>>> da1s1 da1s2 = ntfs partitions. >>>> and even if it mounts fine the first read/rwrite panic. >>>> >> >> >>>> and now i investigated a little more. >>> >>> BTW, are you using the imported new FUSE module from stock kernel? >>>I think that fusefs-ntfs will install fusefs-kmod port which must not >>>happen now. >> >> >>>Please make sure to use the stock FUSE support present in -CURRENT >>>(which means reinstalling kernel and world appropriately). >> >> if CURRENT R241700 has the good one as UPDATING said, i have it. >> >> mount.c is dated October 18. >> other files in the same directory: February. > >> Yes but did you rebuild world and install it? >> Is your kernel using FUSE support from the kernel config? (and not >> from the fusefs-kmod port) > > yes: > deinstall fusefs-ntfs > deinstall fusefs-kmod > > svn update > make buildworld > no error > build kernel > no error > mergemaster! > all this on October 18: R241700 > > i rebuilt mount from /usr/src/head/sbin/mount just now, and mount_ntfs, > with the same result. mount_ntfs has no play here. It is a remnant of the in-kernel support for NTFS and it is not used at all. You need to install fusefs-ntfs and use ntfs-3g the way I showed you. However, fusefs-ntfs is going to bring along fusefs-kmod as a dependency. We need a patch to disable that. If Florian or George don't beat me to it (as they were going to fix it) I can produce one in 1-2 days. Attilio -- Peace can only be achieved by understanding - A. Einstein