public override NT_STATUS FSInfo(UserContext UserContext, out FileSystemAttributes data) { // Should be implemented very fast, as this method is called quite often // Try to implement is without any I/O or cache the I/O results. base.FSInfo(UserContext, out data); data.FSName = "iPhoneFS"; data.SectorUnit = 1; // FreeBytes and TotalBytes will me multiplied by this value data.Sectors = 1; // FreeBytes and TotalBytes will be multiplied by this value //FIXME: cache/decache this info? phone.RefreshFileSystemInfo(); data.FreeBytes = phone.FileSystemFreeBytes; data.TotalBytes = phone.FileSystemTotalBytes; return(NT_STATUS.OK); }