Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have access to a VM which on a different network at work using NIS. (Debian by the way)

This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are publicly hosted directories (I know where to access some of them via Windows shared drives as well).

I'm trying to figure out how to create the same directory structure on my own VM where I have root access.

But I've been unable to figure out how these were mounted (I'm kind of a beginner at Linux config). I searched the config and init files as best I could and didn't find anything useful, just some dead ends. Using the mount command I only see 3 mounts listed, all in deeper /sub/directories (ie. /home/myuser). Any ideas?

share|improve this question
If they don't show up in mount output then they're not mounts per se. – Ignacio Vazquez-Abrams Jul 5 '12 at 4:42
cat /proc/mounts is more accurate than mount - mount reads /etc/mtab which might not be up to date. – Mat Jul 5 '12 at 5:55
Btw. depending on your VM setup (e.g. if you are using containers) you may have no way to access/determine how the directories where mounted if they are not listed in /proc/mounts – Ulrich Dangel Jul 5 '12 at 6:18
The output of your 'mount' command, and/or the contents of the /proc/mounts file (for the purists) would help. They 'extra' directories could be fuse mounts, NFS, samba ... although in my experience, ALL of those show up in the 'mount' or '/proc/mounts' output. But the output would help. – lornix Jul 5 '12 at 18:50
Note that mounting itself doesn't create directories: you mount a filesystem on an existing directory (which is normally empty). Post the output of cat /proc/mounts. – Gilles Jul 5 '12 at 22:30

Your Answer


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

Browse other questions tagged or ask your own question.