Where is dmesgoutput stored?
I have enabled usb storage debug prints for the debugging of my driver in kernel 22.214.171.124 of Fedora 8. When I type dmesg and press enter I see many prints on the screen.
There are however lot many prints and I want all those prints from the beginning. However it seems that the older prints are overwritten with newer prints. SO if just redirect the dmesg output to some file, I get only newest prints but older are lost.
Surprisingly /var/log/messages doesn't contain those prints! Also I see there is a file named /var/log/dmesg , but that files never gets updated with the prints I see on the screen.
So, my question is can I get all those dmesg prints right from the beginning in a file somewhere?