Re: [PATCH v2] nubus: Don't list card resources by default

From: Geert Uytterhoeven
Date: Sun Mar 26 2023 - 04:23:58 EST


Hi Brad,

On Sun, Mar 26, 2023 at 1:03 AM Brad Boyer <flar@xxxxxxxxxxxxx> wrote:
> On Sat, Mar 25, 2023 at 01:44:43PM +0100, Geert Uytterhoeven wrote:
> > Perhaps it would be worthwhile to move the resources out of /proc,
> > but into a separate virtual file system?
> > That way people who need access to the additional info can load the
> > separate virtual file system kernel module, and mount the file system?
>
> I could be wrong, but I believe the more recent trend has been to
> move things like this out of /proc anyway.

Correct. Use sysfs, debugfs, configfs, or your own custom file system
where appropriate.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds