From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 7 19:49:32 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F224C106566B; Tue, 7 Apr 2009 19:49:32 +0000 (UTC) (envelope-from yerenkow@uct.ua) Received: from smtp.ukrindex.com (smtp.ukrindex.com [194.88.218.46]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7F88FC12; Tue, 7 Apr 2009 19:49:32 +0000 (UTC) (envelope-from yerenkow@uct.ua) Received: from [82.193.97.247] (helo=[192.168.1.2]) by smtp.ukrindex.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LrHIZ-0000AP-Fd; Tue, 07 Apr 2009 22:49:31 +0300 Message-ID: <49DBAE4A.9030501@uct.ua> Date: Tue, 07 Apr 2009 22:49:30 +0300 From: "yerenkow@uct.ua" User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: Joe Marcus Clarke References: <49DB93C7.4020108@uct.ua> <49DBA2E2.20302@freebsd.org> <49DBA770.7090503@uct.ua> <49DBAA38.8010109@freebsd.org> In-Reply-To: <49DBAA38.8010109@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sender-IP: 82.193.97.247 X-Sender-User: yerenkow@uct.ua Cc: freebsd-gnome@freebsd.org Subject: Re: HAL issue X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 19:49:33 -0000 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" >> >> > > >