From owner-freebsd-gnome@FreeBSD.ORG Thu Oct 8 21:52:16 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 AA8E91065670 for ; Thu, 8 Oct 2009 21:52:16 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id 4E91B8FC17 for ; Thu, 8 Oct 2009 21:52:16 +0000 (UTC) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao104.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20091008215216.XUSB11036.eastrmmtao104.cox.net@eastrmimpo01.cox.net>; Thu, 8 Oct 2009 17:52:16 -0400 Received: from localhost ([68.103.37.153]) by eastrmimpo01.cox.net with bizsmtp id qMsE1c00J3JFCbG02MsFlw; Thu, 08 Oct 2009 17:52:15 -0400 X-VR-Score: -270.00 X-Authority-Analysis: v=1.0 c=1 a=LeH6XzfVAAAA:8 a=6I5d2MoRAAAA:8 a=kviXuzpPAAAA:8 a=ne9s4z_H5gZ2syWbrycA:9 a=5WQCNJUDPjFspptO-aoA:7 a=wSjL6Nbim07HGetAoCyjgxelAFcA:4 a=lZx7WvuGEOoA:10 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 X-CM-Score: 0.00 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Ted Faber" References: <20091005180808.GE38781@zod.isi.edu> <1254976110.99325.107.camel@shumai.marcuscom.com> <20091008163923.GB79434@zod.isi.edu> Date: Thu, 08 Oct 2009 16:55:09 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Jeremy Messenger" Message-ID: In-Reply-To: <20091008163923.GB79434@zod.isi.edu> User-Agent: Opera Mail/10.00 (Linux) Cc: freebsd-gnome@freebsd.org Subject: Re: automounting and glabel 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: Thu, 08 Oct 2009 21:52:16 -0000 On Thu, 08 Oct 2009 11:39:23 -0500, Ted Faber wrote: > On Thu, Oct 08, 2009 at 12:28:30AM -0400, Joe Marcus Clarke wrote: >> On Mon, 2009-10-05 at 11:08 -0700, Ted Faber wrote: >> > hald & nautilus seem to not automount USB memory disks with glabels on >> > them, even if that label is a single character (no spaces). Is there >> > some configuration file I need to change to get the mount to happen? >> > >> > I didn't include all the debug information, because I see this >> behavior >> > over several systems and over FreeBSD7-STABLE and FreeBSD-8RC1. >> > >> > If it's a bug, here's how I can reproduce it: >> > >> > Insert an unlableled USB memory stick without a glabel. >> > Nautilus will mount it. >> > Unmount it from the menu and make sure it no longer shows up in df >> > put a glabel on: >> > >> > $ sudo glabel label A /dev/da0s1a >> > >> > Pull the drive out, and put it back in. /dev/label/A and /dev/da0s1 >> > will appear in the FS, but the drive will not be mounted by Nautilus. >> > >> > $ sudo glabel clear /dev/da0s1 >> > >> > Remove and replace and the drive will mount again. >> >> You may want to try with hal-0.5.13 in MarcusCom CVS at >> http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports . > > Is there a place to get a tar of the port or an easy way to pull it down > from cvsweb all at once? A target for cvsup or portsnap? Yes, the document is at http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ .. Cheers, Mezz >> http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports . If that >> doesn't work, you will need to follow the instructions at >> http://www.freebsd.org/gnome/docs/halfaq.html to properly report a >> problem with hal. > > This is attached. > > Specifically there is a uname -a, pkg_info listing and an environment > dump. As you can see this is from a freshly portsnap updated tree. > > Two traces and lshal outputs are attached. The first is > from inserting and mounting the un-glabeled drive and the second is from > the glabeled drive. Between the two runs I unmounted the drive, killed > the debug instance of hal, added the glabel as described above (the > single character 'A'), and removed the drive. I restarted hal (with the > debug options using the script command) and plugged the drive in. The > first lshal is with the un-glabelled drive inserted (and mounted) and > the second is with the glabeled drive. It is the same physical drive. > > Finally the dmesg from a verbose booted kernel is included. It is the > dmesg from the session described above. > > To be clear, the attachments are (in order): > uname > pkg_info > /usr/sbin/env > /etc/fstab > trace of hal output when mounting un-glabelled drive > lshal output with un-glabelled drive mounted. > mount command output with un-glabelled drive mounted. > trace of hal output when mounting glabelled drive > lshal output with glabelled drive inserted but not mounted. > mount command output with glabelled drive inserted but not mounted. > dmesg > > Please let me know if I can provide more info. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org