Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 00:50:36 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Raoul MEGELAS <rmgls@free.fr>
Cc:        Florian Smeets <flo@smeets.im>, George Neville-Neil <gnn@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: mounting ntfs partition
Message-ID:  <CAJ-FndDcF6E18cz15txTwc5Z4pDB4nH3QW1HW%2BLEfJjpoZ5U_w@mail.gmail.com>
In-Reply-To: <20121021221030.77C5AD4808C@smtp5-g21.free.fr>
References:  <20121021221030.77C5AD4808C@smtp5-g21.free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 21, 2012 at 11:10 PM, Raoul MEGELAS <rmgls@free.fr> wrote:
> On Sun, 21 Oct 2012 22:58:00 +0100
> Attilio Rao <attilio@freebsd.org> wrote:
>
> On Sun, Oct 21, 2012 at 10:55 PM, Raoul MEGELAS <rmgls@free.fr> wrote:
>> On Sun, 21 Oct 2012 22:07:36 +0100
>> Attilio Rao <attilio@freebsd.org> wrote:
>>
>>>On 10/21/12, Raoul MEGELAS <rmgls@free.fr> wrote:
>>>> On Sun, 21 Oct 2012 14:04:46 +0100
>>>> Attilio Rao <attilio@freebsd.org> wrote:
>>>> Hi Attilio,
>>>>
>>>>
>>>>> On Sun, Oct 21, 2012 at 12:53 PM, Raoul <rmgls@free.fr> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndDcF6E18cz15txTwc5Z4pDB4nH3QW1HW%2BLEfJjpoZ5U_w>