Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In nautilus, a disk can be mounted by mouse click, the results are

  • format(NTFS) is recognized correctly
  • read/write are permitted by non-root user

You can also umount a disk without root permission in nautilus.

How to simulate these mount/umount operations in nautilus with shell commands?

share|improve this question

migrated from Aug 12 '12 at 13:36

This question came from our site for professional and enthusiast programmers.

This exact question was asked three years back on stackoverflow. – Henk Langeveld Aug 12 '12 at 14:23

You can use pmount, an application that allows normal users to mount removable devices:

pmount /dev/sda2 mydevice
share|improve this answer

Nautilus uses gvfs to mount those locations. From the command line:

gvfs-mount smb://server/share mountpoint
share|improve this answer

I belive Nautilus uses udisks for things like removable media:

udisks --mount /dev/sdc1

Use man udisks for several other commands.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.