Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43946 - nvidia-kernel should not generate dev nodes when udev is in use
Summary: nvidia-kernel should not generate dev nodes when udev is in use
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 49594 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-07 03:30 UTC by Andreas Simon
Modified: 2004-05-03 20:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Simon 2004-03-07 03:30:29 UTC
nvidia-kernel should not generate static device nodes when udev is in use.

Reason: With udev the device nodes are created automatically by udevd when the nvidia kernel module is loaded. There is no need for static nodes. (also the NVmakedevices.sh script generates usually more nodes than necessary and with the wrong permission.)


nvidia-kernel already checks if devfsd is running and if this is the case it doesn't generate the devices. The check should be extended for udev.

Thus I suggest to substitude the check
	
	if [ ! -e /dev/.devfsd ] && [ -x /sbin/NVmakedevices.sh ]

with

	if [ ! -e /dev/.devfsd ] && [ ! -e /dev/.udev ] && [ -x /sbin/NVmakedevices.sh ]
Comment 1 Andrew Bevitt 2004-03-15 20:15:40 UTC
Sounds reasonable.

Does anyone have a reason why we SHOULD NOT do this?
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 11:34:30 UTC
No objection here.
Comment 3 Andrew Bevitt 2004-04-07 17:11:30 UTC
OK fixed in cvs.

Closing
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-05-03 20:54:04 UTC
*** Bug 49594 has been marked as a duplicate of this bug. ***