ECE497 Listings for Embedded Linux Primer Chapter 6