tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [RFC 2] userconf(4): 2nd proposal



On Sat, 4 Nov 2023, tlaronde%kergis.com@localhost wrote:

1) Allowing shell-like patterns (not hard to implement):

uc> disable drm*	# all starting with `drm'

No...: this is a break of existing. Trailing `*' selects STARred devices
(I'm not the inventor of this). So `*' can not be used as a joker ;-)


You can allow escapes for those:

uc> disable i915drmkms\*	# exact match STARred
uc> disable *kms\*		# only STARed `*kms'

I have contemplated, too, adding for example "variables" to userconf and
rejected it because this would be only useful for arch supporting
boot.cfg,


Definition in boot.cfg was the intent.

-RVP


Home | Main Index | Thread Index | Old Index