ECE597 Listings for Embedded Linux Primer Chapter 8