Red Hat Bugzilla – Bug 1271960
Storage Administration Guide - /media/
Last modified: 2016-11-14 05:49:33 EST
Section Number and Name:
184.108.40.206. The /media/ Directory
Describe the issue:
Hot-plugged automounted media is no longer mounted under /media/ .
Instead, it is mounted under
Suggestions for improvement:
Please provide the correct path for Hot-plugged automounted media.
Thank you very much for taking your time to report this issue.
Could you please review the changes?
I've deleted the section "220.127.116.11. The /media/ Directory" as it is no longer valid.
I mentioned the /var/run/media/user in "18.104.22.168. The /var/ Directory", adding an admonition:
"The /var/run/media/user directory contains subdirectories used as mount points for removable media such as USB storage media, DVDs, CD-ROMs, and Zip disks. Note that previously, the /media/ directory was used for this purpose."
Changing status to ON_QA
Sorry, I am unable to access the server
If you make it accessible externally to Red Hat, I will review it.
Sorry for the delay.
Here is a link to the publicly available version of the guide:
Thank you very much in advance for your comments,
I see that the /media section is removed and that you have added comments about /var/run/media/user .
Thank you for that.
Please also review Section 22.214.171.124 on /mnt, which re-directs to the section on /media (which no longer exists).
I also see there is an admonishment that /mnt must not be used by installation programs. Why is that? Is it reserved for the personal use and convenience of the system administrator?
I've taken over the RHEL7 Storage Administration Guide.
> Please also review Section 126.96.36.199 on /mnt, which re-directs to the section
> on /media (which no longer exists).
This is in order now.
Sorry for taking so long to get back to you concerning your question:
> I also see there is an admonishment that /mnt must not be used by installation
> programs. Why is that? Is it reserved for the personal use and convenience of
> the system administrator?
The Linux filesystem standard available at http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html says this:
/mnt : Mount point for a temporarily mounted filesystem
This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run.
This directory must not be used by installation programs: a suitable temporary directory not in use by the system must be used instead.
I've checked with a subject matter experts who told me that, as it's a commonly used temporary mount-point, you would constantly run the risk of over-mounting your installations.
The /media section rationale provides further info:
Although the use of subdirectories in /mnt as a mount point has recently been common, it conflicts with a much older tradition of using /mnt directly as a temporary mount point.
The Filesystem Hierarchy Standard is distro-agnostic.
I'm switching the status to verified. If you have any further suggestions, feel free to leave another comment.
Thank you very much for reporting this bug and for your comments.
An updated version of the Red hat Enterprise Linux 7 Storage Administration Guide is now available on the Customer Portal: