James Pearson | 2 Dec 2004 13:22
Favicon

Re: How to know whether a given directory in in NFS

You can use the statfs system call (on Linux) - see a similar thread at 
http://marc.theaimsgroup.com/?t=108784378500006&r=1&w=2

There is probably a statfs Perl module.

James Pearson

Raghu Ram Murthy wrote:
> How with mount.
> 
> for example, /home directory is in NFS and /tmp is not
> in NFS and I don't know whether /home is in NFS or
> not?
> 
> Then how can I find?
> -Raghuram
> --- Vincent Roqueta <vincent.roqueta <at> ext.bull.net>
> wrote:
> 
> 
>>Le jeudi 2 Décembre 2004 11:45, Raghu Ram Murthy a
>>écrit :
>>
>>>Hi,
>>>
>>>I want to know (from perl), whether a given
>>
>>directory
>>
>>>is in part of NFS. Are there any Unix commands to
>>
>>find
>>
>>>it out or any indirect methods?
>>
>>mount ?
>>
>>
>>
> 
> -------------------------------------------------------
> 
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT
>>Products from real users.
>>Discover which products truly live up to the hype.
>>Start reading now.
>>http://productguide.itmanagersjournal.com/
>>_______________________________________________
>>NFS maillist  -  NFS <at> lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nfs
>>
> 
> 
> 
> =====
> ----------------------------------------------
> P.Raghu Ram Murthy, M-tech (Computer Science),
> Member, Information Technology,
> D E Shaw India Software Private Limited,
> 6-3-879 & 879/B
> Begumpet, Hyderabad 500 016
> Andhra Pradesh
> India
> 
> Mobile: (+91) 98852 17928
> ----------------------------------------------
> 
> If it doesn't work, you're not hitting it with a big enough hammer
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> NFS maillist  -  NFS <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
> 

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist  -  NFS <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs


Gmane