Re: [RFC] fs: add userspace critical mounts event support

From: Linus Torvalds
Date: Tue Oct 04 2016 - 21:58:14 EST


On Tue, Oct 4, 2016 at 6:48 PM, Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
>
> I definitely don't think it
> should be a system-wide "mount event"; it should be a per-device "go
> direct-load your firmware" poke from userspace.

I don't disagree with that kind of interface. We already have things
like "rescan" for PCI bus devices to force a bus rescan. Iit's a
simple device attribute. Having a similar thing to trigger firmware
reload for a driver sounds entirely sane.

Linus