tech-kern archive

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

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



Revised proposition:

- 1) No change to the general form of current syntax;

- 2) Selection can be as presently: by number (index in cfdata), by
name (driver name), but also (NEW) by pattern: a pattern is
between slashes, it is a fix substring, that can be optionnally
anchored at the beginning with `^' and at the end with `$';

- 3) (NEW) If the selector (will this word do?) in 2) is surrounded by
braces `{' `}', the selector is for a group of devices;

- 4) The STAR (existing) is still handled as a suffix.

Examples:

disable i915drmkms	# existing syntax

disable {drmkms}	# NEW: disable devices belonging to group "drmkms"

disable {/^drm/}*	# NEW: disable devices belonging to groups
			# whose name begins with the substr "drm" if
			# they are STARred ones.

This work for all actions: change, enable, disable, find and list.

Remainder:

Drmkms is crashing the kernel in various configurations. The drivers
can not be modloaded, they have to be compiled in the kernel. Hence a
way to disable them at booting time is needed.

Hint: Linuces distributions "work" as proposed images on servers,
where NetBSD fails. But this is because GRUB has a switch to disable
drmkms. And the switch is on. Even Linux does not try to use drmkms in
server configurations...
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index