Bug 435246 - [FAQ] How to mount a disk in command line
Summary: [FAQ] How to mount a disk in command line
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: 10
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL: http://docs.fedoraproject.org/desktop...
Depends On: 242399
TreeView+ depends on / blocked
Reported: 2008-02-28 08:05 UTC by Răzvan Sandu
Modified: 2013-02-10 01:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-12-07 10:09:02 UTC

Attachments (Terms of Use)

Description Răzvan Sandu 2008-02-28 08:05:46 UTC

Description of problem:

Please add an exact, step-by-step procedure about mounting/unmounting disk
drives in command line (runlevel 3), when we use udev (default).

Please include it at:


and official Red Hat RHEL documentation.

Version-Release number of selected component (if applicable):
Fedora 8, Red Hat 5.1

How reproducible:

Thanks a lot,

Comment 1 Don Domingo 2008-02-28 23:34:11 UTC
Hi Răzvan,

the document you've quoted (Fedora Desktop User Guide) is, AFAIK, not part of
RHEL's bookset. this bug should be filed in Fedora.

as for official RHEL documentation, instructions for mounting file systems and
removable media are described in "man mount".

setting this bug as NOTABUG. 

Comment 2 Răzvan Sandu 2008-03-02 12:36:34 UTC

Sorry for quoting a Fedora piece of documentation to a Red Hat bug - that seemed
representative to me.

As for the man page:
I assume RHEL man pages are not (very) different from the (recent) Fedora ones.

So I'll refer to the Fedora „man mount” page, which states:

" The standard form of the mount command, is
              mount -t type device dir
       This  tells the kernel to attach the file system found on device (which
       is of type type) at the directory dir."

The problem is that, on udev systems, we don't know the "device" name in advance 
for removable media.

Could you please explain (or redirect this bug to the appropriate Fedora
documentation maintainer)?

This missing piece of information is *blocking* in some cases, so I'll consider
it a FAQ.

Thanks a lot,

Comment 3 Don Domingo 2008-03-03 01:03:53 UTC
reassigning this to package maintainer for util-linux, since man pages are
managed by the package owner themselves.

Comment 4 Karel Zak 2008-05-29 09:49:01 UTC
man mount:

Most devices are indicated by a file name (of a block special device), like
/dev/sda1, but there are other possibilities. For example, in the  case  of  an
 NFS  mount,  device  may  look  like knuth.cwi.nl:/dir. It is possible to
indicate a block special device using its volume label or UUID (see the -L and
-U options below).

My plan is add to the man page info about vol_id and blkid commands.

Comment 5 Adam Pribyl 2008-10-22 19:22:00 UTC
This is probably a bit general problem, related to usage of udev-hal-gnomemount chain in newer Fedora versions. When you are using GUI, the removable media is mounten automaticaly under /media. In init 3 this is not the case. If you do not use root account, then to mount such a media you need to grep dmesg for a assigned /dev name and then do gnome-mount -d /dev/name, which is not very convenient. I personally would welcome if they are mounted also in init 3 as they do in init 5 and could be umounted with umount /media/name by user (calling gnome-umount -d /dev/name is now necessary).

Comment 6 Răzvan Sandu 2008-10-24 14:13:57 UTC
Thanks A LOT for your information !

I don't know if mounting automatically is 100% secure (neither in X nor in command line), but I will gladly accept your point of view.

Please provide a *really easy way* to manipulate (mount/umount) media, for non-technical users - with clear documentation attached !

When using a Red Hat system as a *desktop*  (not necesarilly running X by default!), it's already difficult enough to explain to a secretary what mount-ing /unmount-ing is...  ;-)  Or what cryptic utilities she has to use...


Someone from the Documentation team *please* look at bug #240891 - it's pretty important and it looks stalled for *very* long, even after I've attached a very clear image on the matter...   Thanks again !



Comment 7 Adam Pribyl 2008-10-24 19:46:20 UTC
I am just a poor bugzapper hunting Fedora bugs. Fedora is open project, anybody can join, therefore I would recommend you to join 
https://fedoraproject.org/wiki/DocsProject and fix the mentioned part there, as you seem to be very familiar with various Fedora and Red Hat documentation. 

Regarding bug 240891 this is for RHEL product, that is out of my scope.

Comment 8 Bug Zapper 2008-11-26 02:08:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:

Comment 9 Bug Zapper 2009-11-18 09:26:12 UTC
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 10 Karel Zak 2009-12-07 10:09:02 UTC
I think the mount man page provides necessary information and we're slowly improving the mount documentation in every util-linux-ng release. 

Frankly, the mount/umount command line is not designed for a secretary. We have desktop utils (like nautilus) to such users. 

Closing. (That does not mean that the docs is perfect:-)

Note You need to log in before you can comment on or make changes to this bug.