Why can't you use udev or similar? Matt On Wed, Feb 22, 2012 at 5:04 PM, Barry Kauler <bkauler@xxxxxxxxx> wrote: > Greg has closed my bug report "Need printk's in > drivers/usb/storage/usb.c" that I posted early in 2010: > > https://bugzilla.kernel.org/show_bug.cgi?id=15332 > > The printk's were removed in kernel 2.6.33. Puppy Linux has always > relied upon them for the 'init' script to determine when the kernel > has finished probing for USB drives. The way our init script works, we > need to know this. > > The thing is, our init script needs to know that information, how many > drives found, and waits on all "usb-storage: device scan complete" > messages. > > When those printks were removed, fair enough, but nobody could tell us > what the alternative is. How else do we get that same information at > bootup? > > As we did not know how to get that info, we have solved the problem > our own way. We have a patch to reintroduce the printks. We have this > patch for every kernel up to 3.2.x. > > I am just posting this email to inform the linux-usb developers of > what we are doing. If any developer can inform us of an alternative > method to the printks patch, we would like to know. > > If anyone wants to see our usb printks patch, grab one of them from my > sources repo, for example 'patches.tar.gz' here: > http://bkhome.org/sources/kernel-3.0.17/ > Us#er#na#me#: pu#pp#y Pa#ss#wo#rd#: li#nu#x > > Regards, > Barry Kauler > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthew Dharm Maintainer, USB Mass Storage driver for Linux -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html