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:

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'


But this breaks existing...


Fine. You can introduce the notion of flags.
For example `-p' for pattern:

uc> disable i915drmkms*		# std. starred device
uc> disable -p *drm*		# disable using pattern

You can also add, let's say, a `-g' group flag:

uc> list -g			# list all "groups"
uc> list -g drmkms		# list devices in group drmkms
uc> disable -g drmkms		# disable group drmkms

-RVP


Home | Main Index | Thread Index | Old Index