fusermount Verified current stable Not installed? Filesystem

Fusermount / Unmount Mtp Device

Unmount Mtp Device

Easily unmount your MTP device using the fusermount command to free up the directory.

$
Terminal
fusermount -u <path/to/directory>

When To Use

Unmount an MTP device after completing file transfers.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Unmounting /path/to/directory... Done.

Power User Variants

Optimized versions

fusermount -u /mnt/mtp

Unmounts the MTP device mounted at /mnt/mtp.

fusermount -u /media/mydevice

Unmounts the MTP device mounted at /media/mydevice.

Troubleshooting

Common pitfalls

fusermount: failed to unmount '/path/to/directory': Device is busy

Solution: Ensure no processes are using the directory before unmounting.

Command Breakdown

What each part is doing

fusermount
Base Command
The executable that performs this operation. Here it runs Fusermount before the shell applies any redirect operators.
<path/to/directory>
path to directory
The directory path supplied to this command.
-u
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Open a terminal window.

  2. Step 2

    Run the command: fusermount -u /path/to/directory.

  3. Step 3

    Verify the directory is no longer mounted.

Alternative Approaches

Comparable commands in other tools

Alternative filesystem tools for the same job.