The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    What is /mnt for?

    Discussion in 'Linux Compatibility and Software' started by Thomas, Aug 10, 2008.

  1. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    I've never seen it used before..just curious..
     
  2. talin

    talin Notebook Prophet

    Reputations:
    4,694
    Messages:
    5,343
    Likes Received:
    2
    Trophy Points:
    205
  3. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    Thing is, all I've seen used is /media.....
     
  4. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    Depends on the distro. I have seen both /mnt and /media.
     
  5. Ethyriel

    Ethyriel Notebook Deity

    Reputations:
    207
    Messages:
    1,531
    Likes Received:
    0
    Trophy Points:
    55
    /media is a newer phenomenon used with automounters, /mnt is old school ;)
     
  6. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    When I mount via terminal.
    I use /media....
     
  7. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    /media is more 'correct', but /mnt is less key presses :)
     
  8. archer7

    archer7 Notebook Evangelist

    Reputations:
    289
    Messages:
    647
    Likes Received:
    0
    Trophy Points:
    30
    As previously stated, /media traditionally is used for automounting hotplug devices like flash drives, while /mnt is used for mounting extraneous partitions during boot in fstab (e.g. /mnt/windows for your Windows partition) and persistent fileshares. At least that's how it's been in my experience.

    But again, there's no solid rule stating how these directories are to be used, so it's purely tradition/convention.
     
  9. srunni

    srunni Notebook Deity

    Reputations:
    96
    Messages:
    854
    Likes Received:
    0
    Trophy Points:
    30
    /mnt is the canonical directory for mount points. All these uppity desktop environments have started making their own directories for that though ;/
     
  10. lemur

    lemur Emperor of Lemurs

    Reputations:
    524
    Messages:
    1,024
    Likes Received:
    0
    Trophy Points:
    55
    Ethyriel and srunni have it right. In the olden days, on most Unix and Unix-like systems, /mnt was the place under which you would mount random file systems. You might have had a few standard mount points like / and /home but media of a more general nature were under mounted /mnt. There was no such thing as /media. Linux was the same for quite a long time.

    Then they came up with /media.

    To this day, every ad hoc partition I mount manually, I mount under /mnt instead of /media. Since /media is managed, I don't like to manually mount stuff there in case that confuses the whatever cares to manage that directory.