Operation Manual

The directories visible on the default Debian distribution are as follows:
• bootThis contains the Linux kernel and other packages needed to start the Pi.
• binOperating system-related binary files, like those required to run the GUI, are stored here.
• devThis is a virtual directory, which doesnt actually exist on the SD card. All the devices connected to the system
including storage devices, the sound card and the HDMI portcan be accessed from here.
• etcThis stores miscellaneous configuration files, including the list of users and their encrypted passwords.
• homeEach user gets a subdirectory beneath this directory to store all their personal files.
• lib—This is a storage space for libraries, which are shared bits of code required by numerous different applications.
• lost+found—This is a special directory where file fragments are stored if the system crashes.
• mediaThis is a special directory for removable storage devices, like USB memory sticks or external CD drives.
• mntThis folder is used to manually mount storage devices, such as external hard drives.
• optThis stores optional software that is not part of the operating system itself. If you install new software to your Pi, it will
usually go here.
• procThis is another virtual directory, containing information about running programs which are known in Linux as
processes.
• selinuxFiles related to Security Enhanced Linux, a suite of security utilities originally developed by the US National
Security Agency.
• sbinThis stores special binary files, primarily used by the root (superuser) account for system maintenance.
• sysThis directory is where special operating system files are stored.
• tmpTemporary files are stored here automatically.
• usrThis directory provides storage for user-accessible programs.
• varThis is a virtual directory that programs use to store changing values or variables.
Physical Layout
Although the preceding list is how the file system appears to the Linux operating system, its not how its laid out on the SD card
itself. For the default Debian distribution, the SD card is organised into two main sections, known as partitions because they split
the device into different areas in much the same way as the chapters of this book help to organise its contents.
The first partition on the disk is a small (75 MB) partition formatted as VFAT, the same partition format used by Microsoft
Windows for removable drives. This is mounted, or made accessible, by Linux in the /boot directory and contains all the files
required to configure the Raspberry Pi and to load Linux itself.