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

Bug#396022: initramfs-tools: Tries to create the /dev/fb0 device multiple times, causing harmless but confusing error messages



tags 396022 pending
stop

hello david,

On Sun, Oct 29, 2006 at 01:31:46PM +0100, David Härdeman wrote:
> 
> The problem is that the "mknod /dev/fb0" will be executed twice if fb0 
> has already been found in /proc/fb. The fix would be to change it to:
> 
> if [ -e /proc/fb ]; then
> 	while read fbno desc; do
> 		mknod /dev/fb$fbno c 29 $fbno
> 	done < /proc/fb
> 
> 	if [ ! -e /dev/fb0 ]; then
> 		mknod /dev/fb0 c 29 0
> 	fi
> 
> 	for i in 0 1 2 3 4 5 6 7 8; do
> 		mknod /dev/tty$i c 4 $i
> 	done
> fi

has already been reported, is fixed in my tree for 0.85,
will do an unconditional creation of the fb0 dev like in ubuntu.

regards

-- 
maks

ps i'd be very intersted in an latest usplash testing on linux-images,
need to upload my usplash at least to mentors, will do later.



Reply to: