O'Reilly logo

Getting Started with Cubieboard by Olliver M. Schinagl

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

Mounting partitions

Attaching storage to a system is called mounting. While many graphical desktop environments seem to just work, behind the scenes, they still mount and unmount disks and partitions. The mount command, which makes this happen, requires two parameters: the device node and the mount location.

Either of the two parameters might be omitted if either of them has been defined in the fstab file at /etc/fstab. The fstab file is parsed by mount to see what needs to be mounted, where, and how. Usage of the mount command is shown here:

packt@PacktPublishing:~$ mount /dev/sdb1 /tmp/testdir

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