Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Accessing ETFS maximum number of files at runtime: (3 Items)
   
Accessing ETFS maximum number of files at runtime  
Is there any way to access the maximum number of files permitted on an ETFS at runtime? That is, the numfiles option, or
 the default, passed at the command line: 

-f numfiles
Set maximum number of files. The default value is 4096, with a maximum of 32,767.

I've experimented with several resource/PC calls and have yet to find anything that reflects changes to this value.
RE: Accessing ETFS maximum number of files at runtime  
Owen,

Take a look at statvfs().  It will return the maximum and used files.

David 

> -----Original Message-----
> From: Owen James [mailto:community-noreply@qnx.com] 
> Sent: March 29, 2010 10:23 AM
> To: general-filesystems
> Subject: Accessing ETFS maximum number of files at runtime
> 
> Is there any way to access the maximum number of files 
> permitted on an ETFS at runtime? That is, the numfiles 
> option, or the default, passed at the command line: 
> 
> -f numfiles
> Set maximum number of files. The default value is 4096, with 
> a maximum of 32,767.
> 
> I've experimented with several resource/PC calls and have yet 
> to find anything that reflects changes to this value.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post50693
> 
> 
Re: RE: Accessing ETFS maximum number of files at runtime  
Thanks, that did the trick.