FS#6936 - Autofs feature --ghost does not work
Attached to Project:
Arch Linux
Opened by Arnold Miller (orbitrus) - Tuesday, 17 April 2007, 00:43 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 16 March 2009, 15:37 GMT
Opened by Arnold Miller (orbitrus) - Tuesday, 17 April 2007, 00:43 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 16 March 2009, 15:37 GMT
|
Details
My network is handled by autofs, and I always use --ghost so
I don't have to memorize locations or maintain a symlink
system - I can just rsync from the main server when I need
to update all the other clients.
The auto.master file reads: [...] /mnt/effigy /etc/autofs/auto.net.effigy --timeout=120 --ghost [...] And it works on all the computers except for my Arch laptop. In Arch, using --ghost or not having it at all makes no difference. There are no placeholder leafs in the tree. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Monday, 16 March 2009, 15:37 GMT
Reason for closing: Fixed
Additional comments about closing: autofs 4.1.4-5
Monday, 16 March 2009, 15:37 GMT
Reason for closing: Fixed
Additional comments about closing: autofs 4.1.4-5
In the awk script under munge_options(), the daemon_opts variable was changed to daemon_complex_opts (took a name and a value) and daemon_simple_opts (took a name).
But then I realized the init script was smarter than I was, and changed to back, only modifying the END {} brace to include a for loop and a IF ~ /^$/
So, it was scratch the first patch, it was something I did quickly when I got bored.
I still think that the initscript should be able to handle multiple daemon options. Like ghost, so I don't have to use /etc/conf.d/autofs