nested automount

Joined
Feb 9, 2012
Messages
3
Reaction score
0
Points
1
Hi,

I have in my /etc/auto_home the following:

+auto_home
#
joost onix:/export/home/joost

That's working fine.

Now I would like to have my photo library in /home/joost/Pictures on another share. After reading auto_master(5), I changed auto_home to

+auto_home
#
joost \
/ onix:/export/home/joost \
/Pictures onix:/export/home/joost/Pictures



Apparantly that doesn't work.

Does anyone have a similar working configuration?

Thanks!

Joost
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
it been a while since I played with automount. have you tried the following:

+auto_home
#
joost onix:/export/home/joost \
/Pictures onix:/export/home/joost/Picture
 
OP
J
Joined
Feb 9, 2012
Messages
3
Reaction score
0
Points
1
I now have

+auto_home
#
joost \
onix:/export/home/joost \
/Pictures onix:/export/home/joost/Pictures

and that works!
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
What you have entered and what I have entered is the same thing. The back slant symbol for continuation of the previous line.

So what you really have is the following:

joost onix:/export/home/joost /Pictures onix:/export/home/joost/Pictures
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top