Determining if a file system is controlled by GPFS
A file system is controlled by GPFS if the f_type field in the statfs structure returned from a statfs() or fstatfs() call has the value 0x47504653, which is GPFS in ASCII.
This constant is in the gpfs.h file, with the name GPFS_SUPER_MAGIC. If an application includes gpfs.h, it can compare f_type to GPFS_SUPER_MAGIC to determine if the file system is controlled by GPFS.