std::string getFSString()

in host/common/aix/portablehelpersminor.cpp [1791:1848]


std::string getFSString( int code)
{
	std::string fsType = "";
	switch(code)
	{
		case 0: fsType = "JFS2";
		break;
		case 1: fsType = "NAMEFS";
		break;
		case 2: fsType = "NFS";
		break;
		case 3: fsType = "JFS";
		break;
		case 5: fsType = "CDROM";
		break;
		case 6: fsType = "PROCFS";
		break;
		case 8: fsType = "USRVFS";
		break;
		case 16: fsType = "SFS";
		break;
		case 17: fsType = "CACHEFS";
		break;
		case 18: fsType = "NFS3";
		break;
		case 19: fsType = "AUTOFS";
		break;
		case 20: fsType = "POOLFS";
		break;
		case 31: fsType = "USRLAST";
		break;		
		case 32: fsType = "VXFS";
		break;		
		case 33: fsType = "VXODM";
		break;	
		case 34: fsType = "UDF";
		break;		
		case 35: fsType = "NFS4";
		break;		
		case 36: fsType = "RFS4";
		break;
		case 37: fsType = "CIFS";
		break;		
		case 38: fsType = "PMEMFS";
		break;		
		case 39: fsType = "AHAFS";
		break;
		case 40: fsType = "STNFS";
		break;		
		case 41: fsType = "ASMFS";
		break;
		case 47: fsType = "AIXLAST";
		break;		
		case -1: fsType = "BADVFS";
		break;	
	}
	return fsType;
}