On Sat, 30 Sep 2006, Robbie wrote: > ------------------------------------------------- > What exactly do you mean by "recognizes"? What does the dmesg log say? > ---------------------------------- > Yes, recognize meaning "dmesg".
What does the dmesg log contain? > > If I were to create a script to mount this, what events should be > > provided for me to know when a usb mass storage device have been > > detected? > > You can find out for yourself very easily by looking at the udev log. > (You may have to use udevcontrol to increase the amount of information > sent to the log file.) > -------------------------------------------------- > Because I'm on an embedded platform I don't have udev and from what I've > picked up so far It looks like I'll have to write a script to take care of > these things myself if I know what signals to receive once the usb flash > drive is connected. > I don't expect the kernel to mount any filesystem for me, however, I trying > to find out how this soft of thing is done with all the usb work that's been > done so far that has been integrated in the kernel. I don't know exactly what messages are passed to userspace, but there are plenty of them. You can find out a lot more by asking questions on the hotplug mailing list. Be sure to explain why you can't just run udev; otherwise people won't understand the point of your questions, just as I didn't understand. Maybe the best answer will be to run udev on the embedded platform. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users