Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We could use the stream I/O functions fopen(3)
, fread(3)
, and fclose(3)
."
A block of code is set as follows:
static struct mtd_partition omap3beagle_nand_partitions[] = { /* All the partition sizes are listed in terms of NAND block size */ { .name = "X-Loader", .offset = 0, .size = 4 * NAND_BLOCK_SIZE, .mask_flags = MTD_WRITEABLE, /* force read-only */ } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
static struct mtd_partition omap3beagle_nand_partitions[] = {
/* All the partition sizes are listed in terms of NAND block size */
{
.name = "X-Loader",
.offset = 0,
.size = 4 * NAND_BLOCK_SIZE,
.mask_flags = MTD_WRITEABLE, /* force read-only */
}
}
Any command-line input or output is written as follows:
# flash_erase -j /dev/mtd6 0 0 # nandwrite /dev/mtd6 rootfs-sum.jffs2
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The second line prints the message Please press Enter to activate this console on the console."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.