-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitry V. Ketov wrote:
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>
>>If the idea is to have a 'Network Neighborhood' inside each
>>user's homedir, you could write an executable map for /home
>
>
> It will hide /home directory content.

No. It wouldn't presuming that your /home subdirs are automounted.  The
script would basically transform map entries like:

mikew   -wsize=32768,rsize=32768  homedirserver:/export/home/mikew

Into:
mikew   -wsize=32768,rsize=32768  homedirserver:/export/home/mikew \
  /NetworkNeighborhood  -fstype=autofs,Duser=mikew /etc/auto_nn

which is a valid multimount and should be handled correctly by automount 4.

>
>
>>(not tested..):
>
>
>>key = shift
>
> Did you mean key=$1 ?
>

Sure.


>
>>entry = `ypcat $KEY -k`
>
> What did you mean for $KEY? What is supposed to assign to the 'entry'
> variable?
>

I meant $key.

>
>>if [ $? == 0 ] ; then
>>   echo $entry " /NetworkNeighborhood -Duser=$key /etc/auto_nn"
>>   exit 0
>>fi;
>>exit 1
>>
>>And then use a auto_nn executable map for generating the
>>Neighborhood contents.
>
>
>
> _______________________________________________
> autofs mailing list
> [EMAIL PROTECTED]
> http://linux.kernel.org/mailman/listinfo/autofs


- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
mailto: [EMAIL PROTECTED]
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAx1qIdQs4kOxk3/MRAk0/AJ0bw0kqFk4qX72h6q+TULhM7qxWYACdENrq
N9IAdc+f5D9aeu2VG3g4DQ8=
=Rp37
-----END PGP SIGNATURE-----

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to