All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimo Mongardini <massimo@mongardini.it>
To: autofs@linux.kernel.org
Subject: Re: simple automount question
Date: Mon, 03 Mar 2008 10:08:11 +0000	[thread overview]
Message-ID: <47CBCE0B.3040204@mongardini.it> (raw)
In-Reply-To: <1204517826.5312.62.camel@localhost>

Chris,
    if I understood your question right, you just want the folders to be 
fisible. If that's the case  you could try the -g (--ghost) option of 
automount.

cheers
Massimo

chris barry wrote:
> I've googled, but have not found an answer to this seemingly simple
> question.
>
> I'm automounting /foo from box1 on box2. /foo has no files, just other
> directories, one of which is bar.
>
> box2 $ cd /foo
> box2 $ ls
> box2 $ (nothing shows up)
> box2 $ cd bar
> box2 $ cd ..
> box2 $ ls
> bar
> box2 $
>
>
> Q: how do I get all of the directories under /foo to show up after it's
> automounted?
>
> /etc/auto.master
> /foo	/etc/auto.foo --timeout=60
>
> /etc/auto.foo
> (all on one line)
> *              /
> -fstype=nfs,rsize=32768,wsize=32768,tcp,rw,bg,hard,intr,noacl,nocto,async   10.20.30.40:/foo/&
>
> Is my auto.foo wrong for this application?
>
>
> Thanks,
> -C
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
>   


-- 
Massimo Mongardini

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


echo 'Jg!J!hjwf!zpv!bo!bqqmf!boe!zpv!hjwf!nf!bo!bqqmf-!uifo!xf!xjmm!ibwf!bo!bqqmf!fbdi/!Cvu!jg!J!hjwf!zpv!bo!jefb!boe!zpv!hjwf!nf!bo!jefb-!xf!xjmm!ibwf!uxp!jefbt!fbdi!' | perl -pe 's/(.)/chr(ord($1)-1)/ge'


#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

  reply	other threads:[~2008-03-03 10:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03  4:17 simple automount question chris barry
2008-03-03 10:08 ` Massimo Mongardini [this message]
2008-03-03 11:18 ` Ian Kent
2008-03-03 14:59   ` chris barry
2008-03-05  3:01     ` Ian Kent
2008-03-05  7:04       ` chris barry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47CBCE0B.3040204@mongardini.it \
    --to=massimo@mongardini.it \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.