UBI, udev and systemd

Artem Bityutskiy dedekind1 at gmail.com
Mon May 13 04:06:45 EDT 2013


On Mon, 2013-05-13 at 09:50 +0200, Ricard Wanderlof wrote:
> On Fri, 10 May 2013, Artem Bityutskiy wrote:
> 
> > On Mon, 2013-04-08 at 15:17 +0200, Ricard Wanderlof wrote:
> >> I know this might be a more systemd-related issue, however, it seems
> >> that
> >> there might be something about the way UBI reports device state
> >> changes to
> >> udev etc, or that just someone using UBI and systemd on their system
> >> has
> >> had a similar problem and solved it.
> >
> > I do not think UBI is doing anything special, it uses standard Linux
> > infrastructure API for creating the devices, and deleting them.
> 
> I never followed this up on the list because there were no other responses 
> so I figured there was no other interest.
> 
> You are right, there's nothing special about UBI, except that for udev it 
> comes up as its own subsystem type "ubi". There are lots of default rules 
> for disk devices which place them under systemd control, but nothing for 
> UBI, at least not in the build I was working on. Adding the line
> 
> SUBSYSTEM=="ubi", GROUP="disk", TAG+="systemd"
> 
> to the appropriate rules file allowed systemd to receive UBI subsystem 
> updates, and all was well.

Hi Ricard, thanks for the information, it is useful to know and
appreciated. You could submit a patch to the systemd project, I guess.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list