[PC-BSD Testing] Fwd: Re: HAL issue
Kris Moore
kris at pcbsd.com
Thu Apr 9 06:38:45 PDT 2009
Joe Marcus Clarke wrote:
> On Wed, 2009-04-08 at 09:40 -0400, Kris Moore wrote:
>> A.Yerenkow wrote:
>>> Hello everybody!
>>> Seems we have a problem either with kde(dolphin) or with pcbsd scripts.
>>>
>>> ntfs-3g dropped parameter -C=UTF-8, in 2009.1.1 version;
>>> dolphin on non-eng systems still tries to mount with this option;
>>> ntfs-3g will not mount when this specified.
>>> I see solution to make a wrapper for ntfs-3g script, which simply drops
>>> -C=UTF-8 and translates all other params to ntfs-3g.real
>>> Kris?
>>> Could you a bit experimenting with non-eng system?
>>>
>>> About mounting cd - there probably different thing, I'll dig into this a
>>> bit later.
>>>
>> I'm thinking this is a problem with HAL, since its the one that creates
>> / passes those flags. We already have a wrapper script designed to do
>> the actual call to ntfs-3g from HAL -> /sbin/mount_ntfs
>>
>> Take a look there, you can probably set it up to ignore the -C flag
>> within that script easily. HAL ships with this script now, so if you
>> patch it, we'll need to include it in the port also.
>>
>> I'm guessing the problem with CD mounting will be something similar
>> though. I'm cc'ing Marcus on this problem, so he's aware of whats going
>> on. Maybe we should fix this on the HAL side of things?
>
> Hal is doing its job. The options for ntfs-3g are clearly wrong. If
> you want to submit a patch to do argument sanitizing the the hal mount
> helper script, I'll take it. Else, the -C needs to be dropped on the
> KDE side. Not being an NTFS user, I'm not sure what kind of
> translations/omissions need to be made in the script.
>
My bad, I thought all the flags were supplied by HAL directly when an
application requests a mount. I'll be able to fix up the helper script
to correct this though. I'll get that sent over to you later today or
tomorrow.
Thanks!
--
Kris Moore
PC-BSD Software
http://www.pcbsd.com
More information about the Testing
mailing list