Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2009 22:49:30 +0300
From:      "yerenkow@uct.ua" <yerenkow@uct.ua>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: HAL issue
Message-ID:  <49DBAE4A.9030501@uct.ua>
In-Reply-To: <49DBAA38.8010109@freebsd.org>
References:  <49DB93C7.4020108@uct.ua> <49DBA2E2.20302@freebsd.org> <49DBA770.7090503@uct.ua> <49DBAA38.8010109@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke wrote:
> A.Yerenkow wrote:
>   
>> On 07.04.2009 22:00, Joe Marcus Clarke wrote:
>>     
>>> yerenkow@uct.ua wrote:
>>>   
>>>       
>>>> Hello guys!
>>>> I'm not in list, so, please reply to me too.
>>>>
>>>> I've issues with hald on pc-bsd.
>>>> It's regular when have russian language, and labeled ntfs/cd drive.
>>>> when I click to mount in dolphin, nothing happens, only such records
>>>> added to /media/.hal-mtb:
>>>>
>>>> /dev/ad0s5s1    1001    0       ntfs    nosuid,-u=1001,-C=UTF-8
>>>> /media/disk-2
>>>> /dev/ad0s5s1    1001    0       ntfs    nosuid,-u=1001,-C=UTF-8
>>>> /media/disk-3
>>>> /dev/ad0s5s1    1001    0       ntfs    nosuid,-u=1001,-C=UTF-8
>>>> /media/disk-4
>>>> /dev/ad0s5s1    1001    0       ntfs    nosuid,-u=1001,-C=UTF-8
>>>> /media/disk-5
>>>> /dev/ad0s5s1    1001    0       ntfs    nosuid,-u=1001,-C=UTF-8
>>>> /media/disk-6
>>>>      
>>>>         
>>> I don't see any /dev/ad0s5s1 device in lshal or in GEOM.  This looks
>>> like a problem with whatever KDE is using to mount the device.  If KDE
>>> were to try and mount /dev/ntfs/stuff, it should work.  In fact, you
>>> could test that using gnome-mount which will do the mount via hald:
>>>
>>> gnome-mount -b -n -v --device /dev/ntfs/stuff
>>>
>>> Joe
>>>    
>>>       
>> Thanks Joe, I tried this command and it mounts OK.
>> but! In /media/.hal-mtab in records no parameter for encoding, only for
>> nosuid.
>> And one more thing, if dolphin from KDE tries to mount with something
>> different from hald, why is these records
>> in /media/.hal-mtab appears?
>> which command place it there?
>>     
>
> I don't know.  I don't know what dolphin is or what it is doing to try
> and mount volumes.
>
>   
>> Joe, I'm not quite familiar with hal, is there somewhere described
>> life-cycle of hal-mounted disks?
>>     
>
> The only document we have produced is the hal FAQ at
> http://www.freebsd.org/gnome/docs/halfaq.html .
>
>   
>> If this really KDE-related issue, could you help me to make a report for
>> kde maintainers@ freebsd?
>>     
>
> kde@freebsd.org
>
>   
>> Wha info I should provide them?
>>     
>
> Probably the same info provided here.  Since gnome-mount works, it looks
> like PolicyKit and hald are working properly.  I would imagine the
> problem revolves around that bogus device node.  I've not sure how KDE
> is arriving at that.
>
> Joe
>   
One more thing, if I run this command :
gnome-mount -b -n -v -o C=UTF-8 --device /dev/ntfs/stuff

I get this:
> ** (gnome-mount:22537): DEBUG: Mounting 
> /org/freedesktop/Hal/devices/volume_uuid_866067FC6067F17B with 
> mount_point='stuff__', fstype='', num_options=1
> ** (gnome-mount:22537): DEBUG:   option='C=UTF-8'
> ** Message: Mount failed for 
> /org/freedesktop/Hal/devices/volume_uuid_866067FC6067F17B
> org.freedesktop.Hal.Device.Volume.InvalidMountOption : The option 
> 'C=UTF-8' is not allowed for uid=1001
Is it ok?
I tried under both user and root, same thing. Even default option 
"nosuid" not allowed for me, but it set anyway when I omit specifying 
options at all.








>   
>>>   
>>>       
>>>> .....
>>>>
>>>> If I run manually mount with this parameters, all mounts just fine.
>>>> I've attached some diagnostic info, maybe something will help you help
>>>> me :)
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> freebsd-gnome@freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>>>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>>>>      
>>>>         
>>>    
>>>       
>> _______________________________________________
>> freebsd-gnome@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>>
>>     
>
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49DBAE4A.9030501>