O'Reilly logo

Raspberry Pi Networking Cookbook by Rick Golden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automounting USB disks at boot (/etc/fstab)

This recipe shows how to configure the Raspberry Pi so that it automatically mounts disk drives during the boot process.

The goal of this recipe is to mount the example disks at boot time with the same configuration that is used by the pmount command.

The first few steps of this recipe use the pmount and mount commands to discover the correct filesystem table configuration parameters for two example disk drives. Once the configuration parameters are known, the filesystem table configuration file (fstab) is updated so that the example disks are mounted as the Raspberry Pi boots.

This recipe does not provide details on the meaning of each configuration parameter. Instead, the recipe reuses the same configuration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required