7

This question already has an answer here:

What is the purpose of having both? Aren't they both used for mounting drives?

marked as duplicate by Gilles linux Jan 2 '16 at 23:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

12

I recommend visiting the Filesystem Hierarchy Standard.

  • /media is mount point for removable media. In other words, where system mounts removable media. This directory contains sub-directories used for mounting removable media such as CD-ROMs, floppy disks, etc.

  • /mnt is for temporary mounting. In other words, where user can mount things. This directory is generally used for mounting filessytems temporarily when needed.

Ref:
http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT
http://www.pathname.com/fhs/pub/fhs-2.3.html#MNTMOUNTPOINTFORATEMPORARILYMOUNT

  • 11
    What about less than temporary mounts? Where would you mount a partition "permanently"? – To Do Jan 2 '16 at 21:19
  • The only good answer to this is "yes" or "anywhere you like". You can always locate a mount at a later point with either mount, findmnt, or other similar commands. – Zhro Feb 3 at 0:02
8

use /mnt for stuff you mount by yourself

leave /media for the system to mount its stuff

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