Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the "device" argument in the mount command?

I know that if you want to mount a device from the /dev directory, you can do a simple command like mount /dev/cdrom /media/cdrom

What I don't understand is how mount knows about the special stuff like proc and sysfs. They are not devices in the /dev directory.

I've seen the command mount -t tmpfs mdev /dev referenced when looking at busybox docs. Where is this mdev "device"?

Thanks, Chenz

share|improve this question
up vote 5 down vote accepted

Nothing at all. Completely meaningless.

For things like procfs, there is no "device" to mount. For consistency you'll always pass a dummy parameter to mount - eg, mount -t procfs proc /proc - but the module responsible for actually doing the mount just ignores that.

(mdev, in the specific case of mounting tmpfs on busybox, may actually have some meaning - telling busybox to use mdev rather than udev)

share|improve this answer

proc and sysfs aren't normal filesystems. /proc is just a mapping of kernel space memory to the filesystem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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