Results 1 to 2 of 2
I am attempting to accomplish the following goal: Generate list of all block devices so that I may be able to traverse them for specific drive labels.
Is there a ...
- 03-08-2009 #1Just Joined!
- Join Date
- Nov 2005
- Location
- Chicago, IL
- Posts
- 46
Question on existence of device driver routine...
I am attempting to accomplish the following goal: Generate list of all block devices so that I may be able to traverse them for specific drive labels.
Is there a clean routine, or proposed method of being able to (within my device driver), generate a list of all block devices? I do not want any user interaction outside of the insertion of the module.
Thanks in advance.
Petros Koutoupis
- 04-16-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
See if you can find what you need here: Linux Device Drivers, Third Edition [LWN.net]
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
