From owner-freebsd-gnome@FreeBSD.ORG Tue Oct 17 21:03:39 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58A0E16A403 for ; Tue, 17 Oct 2006 21:03:39 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF01143D5F for ; Tue, 17 Oct 2006 21:03:38 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.8/8.13.8) with ESMTP id k9HL3vaR048487; Tue, 17 Oct 2006 17:03:58 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Sean McNeil In-Reply-To: <1161118407.10744.22.camel@triton.mcneil.com> References: <1161114358.3416.7.camel@triton.mcneil.com> <1161115290.23262.58.camel@shumai.marcuscom.com> <1161118407.10744.22.camel@triton.mcneil.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nwiuQcOSsn2mbZrGVeag" Organization: MarcusCom, Inc. Date: Tue, 17 Oct 2006 17:03:32 -0400 Message-Id: <1161119012.23262.81.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 FreeBSD GNOME Team Port Cc: gnome@freebsd.org Subject: Re: HAL tutorial and rc.d scripts 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, 17 Oct 2006 21:03:39 -0000 --=-nwiuQcOSsn2mbZrGVeag Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-10-17 at 13:53 -0700, Sean McNeil wrote: > On Tue, 2006-10-17 at 16:01 -0400, Joe Marcus Clarke wrote: > > On Tue, 2006-10-17 at 12:45 -0700, Sean McNeil wrote: > > > I've just managed to get my system updated to GNOME 2.16 after some > > > difficulties. I understand that HAL is supported with this version, = but > > > I cannot find any man page for hald or any tutorial for how it is use= d. > > > Can someone please point me in the right direction? > >=20 > > There is a README installed, but in general, you just want to add > > yourself to the operator group (if not already there), and start hald. > > Everything else should just work. > >=20 > > If you'd like to submit documentation for the FreeBSD GNOME FAQ, or add > > to the README, your patches would be happily accepted. >=20 > If I understood how it works, I would be glad to add patches. Perhaps > you can describe what is happening to my setup and that would help my > understanding: >=20 > I have the following ata devices: > ATA channel 0: > Master: ad0 ATA/ATAPI revision 7 > Slave: ad1 ATA/ATAPI revision 7 > ATA channel 1: > Master: acd0 ATA/ATAPI revision 6 > Slave: acd1 ATA/ATAPI revision 7 > ATA channel 2: > Master: ad4 Serial ATA v1.0 > ATA channel 3: > Master: ad6 Serial ATA v1.0 > ATA channel 4: > Master: ad8 Serial ATA v1.0 > Slave: no device present > ATA channel 5: > Master: ad10 Serial ATA v1.0 >=20 > ad4 - My root filesystem >=20 > ad0 - Part of a gmirror /dev/mirror/folka > ad1 - Part of a gmirror /dev/mirror/folka and extra space as /export (gla= bel /dev/ufs/export) >=20 > ad6 and ad8 - gmirror /dev/mirror/home >=20 > ad10 - /users (glabel /dev/ufs/users) >=20 > my fstab has: > # Device Mountpoint FStype Options Dump P= ass# > /dev/ad4s1b none swap sw 0 0 > /dev/ad4s1a / ufs rw 1 1 > /dev/mirror/home /home ufs rw,acls 1 1 > /dev/mirror/folka /folk ufs rw,acls 1 1 > /dev/ufs/users /users ufs rw,acls 1 1 > /dev/ufs/export /export ufs rw,acls 1 1 > proc /proc procfs rw 0 0 > linproc /compat/linux/proc linprocfs rw 0 0 > /dev/cd0 /mnt/dvd0 udf rw,noauto 0 0 > /dev/cd1 /mnt/dvd1 udf rw,noauto 0 0 > /dev/cd0 /mnt/cdrom0 cd9660 rw,noauto 0 0 > /dev/cd1 /mnt/cdrom1 cd9660 rw,noauto 0 0 >=20 > (tried with acd* as well) >=20 > My df shows: > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 69G 21G 42G 33% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/mirror/home 361G 83G 250G 25% /home > /dev/mirror/folka 111G 60G 42G 59% /folk > /dev/ufs/users 180G 128G 38G 77% /users > /dev/ufs/export 73G 520M 67G 1% /export > procfs 4.0K 4.0K 0B 100% /proc > linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc > /dev/md0 124M 64K 114M 0% /tmp > devfs 1.0K 1.0K 0B 100% /var/named/dev >=20 > I'm guessing fstab doesn't really have anything to do with hald. In > Nautilus, I now end up with a new icon on the desktop that is part of > my /dev/mirror/folka. I think it's from ad1 as it must have decided > since /export is on there to pull that in as well. >=20 > In "Computer" from nautilus, I see: > CD-RW/DVD-R Drive > 114.5 GB Volume > 372.6 GB Volume > 372.6 GB Volume (2) > export > users > Filesystem > Network >=20 > So it is obvious to me that the separate drives are showing for gmirror > (which is a bug?) instead of the mirrors, but I'm puzzled about my /folk > disk as it only shows one of the discs. I also only see one of my DVD > drives and I can't get it to mount anything. To make everything > complete, here is my /var/log/message of disc detection: hal currently lacks RAID support, so each disk will be displayed. You can choose to ignore these entries by modifying /usr/local/share/hal/fdi/preprobe/20thirdparty/10-ignore-disks.fd= i. Something like this should work: true The block device string should be whatever lshal reports it to be. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-nwiuQcOSsn2mbZrGVeag Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFNUUkb2iPiv4Uz4cRAkgDAKCGv0E69HS6AnhBCfd2iuD+7yvgPACgi27k wNB4In1l+i5sql6AFNgFArc= =FaDx -----END PGP SIGNATURE----- --=-nwiuQcOSsn2mbZrGVeag--