Re: [autofs] Autofs problem (migration from sun to linux )

2004-03-14 Thread surya
Dear Ian ,
 Thank you for your help . But unfortunately it did not solve my problem . I run 
autofs modular . So I removed existing one and compiled the autofs4 tar file and also 
compiled the patch module(autofs4-2.4-module-20031201.tar.bz2 ) . It got installed , I 
restarted autofs but no luck . Most of my maps comes from NIS . still I cant see any 
directories . Kindly tell me is there something else which I need to check .

awaiting your reply,

rgds
Surya .



- Original Message -
From: Ian Kent [EMAIL PROTECTED]
Date: Sun, 7 Mar 2004 19:21:50 +0800 (WST)
To: surya [EMAIL PROTECTED]
Subject: Re: [autofs] Autofs problem (migration from sun to linux )

 On Sun, 7 Mar 2004, surya  wrote:
 
  Dear All ,
We are migrating from sun to linux . The problem faced is , all the 
  mounted directories are shown  by default in sun . But in linux the directories 
  are not shown until they are accessed . Is there a way wherein all the directories 
  are shown by default in linux like sun .
  
 
 Try looking at 
 http://www.kernel.org/pub/linux/daemons/autofs/v4/
 
 You need the kernel module update also.
 
 Ian
 



rgds
surya

-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

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


Re: [autofs] Autofs problem (migration from sun to linux )

2004-03-14 Thread Ian Kent
On Sun, 14 Mar 2004, surya  wrote:

 Dear Ian ,
  Thank you for your help . But unfortunately it did not solve my problem . I run 
 autofs modular . So I removed existing one and compiled the autofs4 tar file and 
 also compiled the patch module(autofs4-2.4-module-20031201.tar.bz2 ) . It got 
 installed , I restarted autofs but no luck . Most of my maps comes from NIS . still 
 I cant see any directories . Kindly tell me is there something else which I need to 
 check .

Did you read the documentation in the tarball?

I guess you untared it edited the macros in Makefile.conf to point to the 
source tree of the running kernel then:

make
make install

That's all you should need to do for the kernel module.

You also need to add an option to the master map like

/home   /etc/auto.home --ghost

Ian

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


Re: [autofs] Autofs problem (migration from sun to linux )

2004-03-14 Thread surya
Dear Ian , 
  Thx for the instant reply . I have tried in the same way  you told . I am in an 
environment where we have both solaris and linux clients while nis master is a solaris 
box .Maps come from NIS .  Does this ghost option ( /home  /etc/auto.home --ghost ) 
given in the master server cause any trouble for the existing solaris clients . 

Any work around would be highly appreciated .

rgds
surya



- Original Message -
From: Ian Kent [EMAIL PROTECTED]
Date: Sun, 14 Mar 2004 20:32:51 +0800 (WST)
To: surya [EMAIL PROTECTED]
Subject: Re: [autofs] Autofs problem (migration from sun to linux )

 On Sun, 14 Mar 2004, surya  wrote:
 
  Dear Ian ,
   Thank you for your help . But unfortunately it did not solve my problem . I 
  run autofs modular . So I removed existing one and compiled the autofs4 tar file 
  and also compiled the patch module(autofs4-2.4-module-20031201.tar.bz2 ) . It got 
  installed , I restarted autofs but no luck . Most of my maps comes from NIS . 
  still I cant see any directories . Kindly tell me is there something else which I 
  need to check .
 
 Did you read the documentation in the tarball?
 
 I guess you untared it edited the macros in Makefile.conf to point to the 
 source tree of the running kernel then:
 
 make
 make install
 
 That's all you should need to do for the kernel module.
 
 You also need to add an option to the master map like
 
 /home /etc/auto.home --ghost
 
 Ian
 



rgds
surya

-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

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


Re: [autofs] Autofs problem (migration from sun to linux )

2004-03-14 Thread Ian Kent
On Sun, 14 Mar 2004, surya  wrote:

 Dear Ian , 
   Thx for the instant reply . I have tried in the same way  you told . I am in 
 an environment where we have both solaris and linux clients while nis master is a 
 solaris box .Maps come from NIS .  Does this ghost option ( /home
 /etc/auto.home --ghost ) given in the master server cause any trouble for the 
 existing solaris clients . 

Yes.

Create a file master map localy to refer to the NIS maps.

Ian

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


[autofs] Summary of autofs migration from Sun to Linux (resolved)

2004-03-14 Thread surya
Dear Ian / All  , 
  First of all Thank you so much Ian for your time to resolve our problem 
. 

Summary is 

just download 2 files from the below site

http://www.kernel.org/pub/linux/daemons/autofs/v4/

download the below files

autofs-4.1.0.tar.gz 
autofs4-2.4-module-20031201.tar.gz 

1) remove your existing autofs rpm ( if applicable)
2) untar the autofs-4.1.0.tar.gz and compile it ( ./configure, make ,make install) 
3) back up your previous module if you want 
(/lib/modules/kernel-dir/kernel/fs/autofs/autofs.o)
4) Untar autofs4-2.4-module-20031201.tar.gz then do (adjust your kernelpath  
macro(read the README) , make ,make install) 
 After this need to add an option to the master map like this 

  /home /etc/auto.home --ghost (  /home /etc/auto.home --ghost ) 
   You can also pass this  --ghost  option in the /etc/init.d/autofs file .
   There is an option in this file called  daemonoptions append the entry
   
   eg:
   daemonoptions='--ghost'

This will append the option to the automount daemon .

5) Restart your autofs service .

That will solve the problem .


rgds

Surya Prabhakar N ,
Technical Specialist ,
Strategy  Deployment Team ,
Wipro Limited ,
Bangalore - India.
-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

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


[autofs] Trapping eject button on CD-ROM

2004-03-14 Thread Jon Niehof
Apologies if this has been asked before; I read a
HOWTO that seemed to imply it was possible but haven't
seen anything beyond that.

Is it possible to configure autofs to catch the
eject button on a CD-ROM and unmount the filesystem
(presuming it's not busy, of course), then eject?

__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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