Operating System - HP-UX
1833379 Members
3547 Online
110052 Solutions
New Discussion

statvfs system call and vxfs file systems

 
SOLVED
Go to solution
wendy sechler
Occasional Contributor

statvfs system call and vxfs file systems

Given that the inodes are dynamically allocated in a vxfs file system, are the following fields of the stat structure that is returned by the statvfs() system call still valid for vxfs file systems?
stat.f_files total # of inodes
stat.f_ffree total # of free inodes
stat.f_favail # of inodes available to non-super users

-- Wendy
1 REPLY 1
Bruno Vidal
Respected Contributor
Solution

Re: statvfs system call and vxfs file systems

Hi,
Yes, it is still valid, because inode allocation are not done one bye one, when a vxfs filesystem needs inodes, it allocate a bunch of inode, so you still have a # of inode, of free inode, and the limitation for non root user still exist, it is 2% by default,(and 10% for HFS) but you can modify it.

Cheers.