From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 18 07:15:16 2009 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04D481065670 for ; Sun, 18 Jan 2009 07:15:16 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal2.es.net [198.128.3.206]) by mx1.freebsd.org (Postfix) with ESMTP id E127F8FC0A for ; Sun, 18 Jan 2009 07:15:15 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id ZIH47815; Sat, 17 Jan 2009 23:15:15 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 357861CC0B; Sat, 17 Jan 2009 23:15:15 -0800 (PST) To: Joe Marcus Clarke In-reply-to: Your message of "Sun, 18 Jan 2009 01:28:22 EST." <1232260102.51752.20.camel@shumai.marcuscom.com> Date: Sat, 17 Jan 2009 23:15:15 -0800 From: "Kevin Oberman" Message-Id: <20090118071515.357861CC0B@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Joe Marcus Clarke X-To_Domain: marcuscom.com X-To: Joe Marcus Clarke X-To_Email: marcus@marcuscom.com X-To_Alias: marcus Cc: gnome@freebsd.org Subject: Re: Problems with HAL, gnome-mount and removable ATA GELI disk 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: Sun, 18 Jan 2009 07:15:16 -0000 > From: Joe Marcus Clarke > Date: Sun, 18 Jan 2009 01:28:22 -0500 > > On Sat, 2009-01-17 at 20:23 -0800, Kevin Oberman wrote: > > I have a problem with hald and a removable ATA disk. This is complicated > > because the fact that the partition is geli encrypted. > > > > I think one issue is that this is not treated as removable. Is the any > > way to make hald treat an ATA disk as removable? > > The device's ata_params struct support command1 should indicate that the > device is removable. I'm not sure how else to tell a device is > removable. OK. I'm out of my depth. I've looked at ata-all.h and did not see what might be involved. Guess I just need to set hal to mount fixed disks, too. Last time I tried this I hit some annoying side effects, but I can work around those. > > But there may be another issue as lshal does not even show the > > partition. It does see the drive, /dev/ad2, the slice, /dev/ad2a1, and > > the encrypted partition, /dev/ad2a1d, but not the decrypted partition, > > /dev/ad2s1d.eli. I assume it should show up. > > > > I have other disks (USB) where the slice is encrypted and it works just > > fine (/dev/da0s1.elid), so maybe it's the fixed disk issue. > > > > Have you defined any hal FDI files that might be ignoring this device? > I don't see where else it would be ignored. Ack! I'd forgotten about an old FDI file. That takes care of that one. Thanks. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751