Date: Tue, 17 Oct 2006 17:03:32 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Sean McNeil <sean@mcneil.com> Cc: gnome@freebsd.org Subject: Re: HAL tutorial and rc.d scripts Message-ID: <1161119012.23262.81.camel@shumai.marcuscom.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 <Maxtor 6Y120L0/YAR41VW0> ATA/ATAPI revision 7 > Slave: ad1 <Maxtor 6L200R0/BAH41E00> ATA/ATAPI revision 7 > ATA channel 1: > Master: acd0 <PIONEER DVD-RW DVR-104/1.40> ATA/ATAPI revision 6 > Slave: acd1 <TOSHIBA CD/DVDW SD-R5372/TU31> ATA/ATAPI revision 7 > ATA channel 2: > Master: ad4 <ST380013AS/3.05> Serial ATA v1.0 > ATA channel 3: > Master: ad6 <WDC WD4000KD-00NAB0/01.06A01> Serial ATA v1.0 > ATA channel 4: > Master: ad8 <WDC WD4000KD-00NAB0/01.06A01> Serial ATA v1.0 > Slave: no device present > ATA channel 5: > Master: ad10 <WDC WD2000JD-00HBB0/08.02D08> 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: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <deviceinfo version=3D"0.2"> <device> <match key=3D"block.device" string=3D"/dev/ad0"> <merge key=3D"info.ignore" type=3D"bool">true</merge> </match> </device> </deviceinfo> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1161119012.23262.81.camel>