Seeking Remedy for udev Confusion
Kurt Wall
kwall
Thu Dec 1 22:32:13 PST 2005
On Tue, Nov 29, 2005 at 09:14:35AM +0100, Roger Oberholtzer took 39 lines to write:
> On Mon, 2005-11-28 at 23:23 -0500, Kurt Wall wrote:
> > Hi, list,
> >
> > I'll readily concede that I'm not always the brightest light bulb in
> > the chandelier, so can y'all recommend your favorite udev
> > demystification documents so I can try to get my head around it? My
> > immediate desire is to have my SD cards recognized and mounted
> > automatically (on Slamd64, a 64-bit Slackware), but my ultimate desire
> > is to understand how to make udev DTRT, or perhaps simply to grasp what
> > The Right Thing (c) is.
>
> How far have you got? I am at the point of
To the point that I can spell "udev" (see: u-d-e-v).
> understanding /usr/share/hal/fdi/policy/20thirdparty, which is where you
> would put the various bits that do as you want. This directory contains
> files that each contain an xml definition that uses tags for your
> device. The tags are those listed by lshal. You can control mount
> points, mount options, and I am sure other things in these files.
I thought the policy bits lived in /etc/udev/rules.d/, to wit:
$ ls -l /etc/udev/rules.d
total 24
-rw-r--r-- 1 root root 809 2005-07-25 06:48 compat.rules.unsupported
-rw-r--r-- 1 root root 4210 2005-07-25 06:48 devfs.rules.unsupported
-rw-r--r-- 1 root root 8817 2005-07-25 06:48 udev.rules
Moreover, there's no /usr/share/hal on my Slamd64 system and no "lshal".
> Is this what you mean?
Yes. I'm trying to learn the policy. It looks as though I'll need to get
hald up and running.
> I have a few unresolved issues with this setup in that it does not act,
> IMO, in a consistent fashion. But I am guessing it is more to do with
> understanding the xml tag usage than any system problems ;-)
Ah, I know this problem: PEBCAK. ;-)
> BTW, this is from a SUSE POV. I do not know how generic it is. HAL is,
> of course. But I do not know about the directory and files to control
> things. HAL, being new, could be the same on all platforms. But, I have
> been there before.
Well, at least I've determined that I have to get HAL going, if it
isn't.
Thanks,
Kurt
--
Kirkland, Illinois, law forbids bees to fly over the village or through
any of its streets.
More information about the Linux-users
mailing list