logo       

Re: 2.6.12 / udev / pcmcia: msg#00021

handhelds.linux.kernel

Subject: Re: 2.6.12 / udev / pcmcia

On Mon, 2005-09-19 at 23:13 +0200, pHilipp Zabel wrote:
> On 9/19/05, Richard Purdie <rpurdie-Fm38FmjxZ/leoWH0uzbU5w@xxxxxxxxxxxxxxxx>
> wrote:
> > I'm in the process of trying to knock OE's udev scripts into shape. udev
> > in OE has recently started to disable hotplug and this has exposed
> > several problems. The replacement of pcmcia-cs with pcmciautils will
> > probably finish things off. Does pcmciautils support the /etc/pcmcia
> > scripts?
>
> You could start them from udev scripts.
> But wasn't the point of pcmciautils to deprecate those scripts and use
> udev rules instead (if needed)?

That's exactly what I'm suggesting we do - use udev instead where
possible. There will be some scripts required though to mount/umount
things though (and ifup/ifdown network interfaces) but this is a generic
need and not pcmcia specific.

> > Regardless, we can probably do the mounting of disk devices (be them
> > pcmcia, mmc etc.) through udev scripts calling pmount (which is the
> > current plan).
>
> If pmount is run from udev, isn't it run by root?
> (What's the point of using pmount over mount, then?)

You don't require entries for the devices in fstab which is handy for
unknowns like usb.

Richard


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise