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

on a Linux or Solaris server, using automount/autofs, how do i create/populate a directory with automount entries without mounting them ?

For example, i have /data and /data/ subdirectories are only created after the first access. This is not persistent across reboot on Linux.

Is there a way to populate my /data without mounting all the disks ? So that users/applications see /data/disk1..N even if they are not mounted.

share|improve this question
I've just found BROWSE_MODE for RedHat… it's poorly documented, i'm going to try it on monday. – Benoît Oct 14 '11 at 22:38
Yep, BROWSE_MODE=yes seems to do the trick on RedHat. – Benoît Oct 17 '11 at 9:20
up vote 0 down vote accepted

On Solaris, that's the default mode, and you need to specify -nobrowse in automount maps to disable it. (For instance, we have our source code workspaces browsable, but home directories under auto_home are not, since no one wants to wait for 30,000 subdirs to load when trying to save a file in their home directory using a GUI file selection dialog, especially not in GUI's that stat each one, causing a mount, just to determine whether to display a folder or file icon.)

For more details see the Browsing section of the automount(1m) man page and the autofs browsability sections of the System Administration Guide.

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.