Readying devices for use

Mount ’em Up!

Article from Issue 144/2012
Author(s):

We show you how to add devices to and remove them from your system while keeping it stable and secure.

Mounting is the act of preparing a device for use with a computer. Originally, for security reasons, mounting on Linux was a privilege of the root user. However, with the rise of the desktop, convenience has won out over security, and most distributions give users the ability to mount DVDs, flash drives, partitions, and logical volumes automatically.

So, why would you want to mount or unmount devices manually? Several reasons. Even now, automatic mounting sometimes fails, especially when swapping large numbers of CDs or DVDs in and out of the drive. Additionally, you might want to run fsck to check a partition, edit a partition with GNU Parted, or add a new hard drive to your system – operations that require the device you are editing to be unmounted first. Of course, knowing what goes on behind the scenes on the desktop never hurts, either.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: mount & fstab

    This month we look at tools for mounting and unmounting storage media.

  • Command Line – tune2fs

    The advanced tune2fs command lets you check and modify the tunable parameters of ext filesystems.

  • Filesystem Tools

    Tools like mount and findmnt reveal which partitions and filesystems are mounted on your computer.

  • ASK KLAUS!

    Klaus Knopper is the creator of Knoppix and co-founder of the LinuxTag expo. He currently works as a teacher, programmer, and consultant. If you have a configuration problem, or if you just want to learn more about how Linux works, send your questions to: klaus@linux-magazine. com

  • Command Line – fsck

    Learn how to use fsck's capabilities to solve filesystem problems.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News