Next Previous Contents

4.1 Get_resources request processing

Function int get_resources(struct resources *res,ERR_PARAM) takes pointer to the allocated structure struct resources and fills it in with information about hard disks in the computer and their partition structure. The function processes in several steps:

The function int fill_disk(char *devicename,struct disk_info *diskinfo,struct fs_pars *filesystems,ERR_PARAM) obtains information about partition structure on device named devicename and fills in structure diskinfo using filesystem parameters stored in filesystem. The function processes in several steps:


Next Previous Contents