XBT_INFO(
"*** Storage info on %s ***", host_name);
char* mount_name;
char* storage_name;
XBT_INFO(
"Storage name: %s, mount name: %s", storage_name, mount_name);
XBT_INFO(
"Total size: %llu bytes", size);
XBT_INFO(
"Free size: %llu bytes", free_size);
XBT_INFO(
"Used size: %llu bytes", used_size);
}
char* file_name =
xbt_strdup(
"/home/tmp/data.txt");
XBT_INFO(
"Create a %llu bytes file named '%s' on /sd1", write, file_name);
XBT_INFO(
"Read %llu bytes on %s", read, file_name);
XBT_INFO(
"Write %llu bytes on %s", write, file_name);
XBT_INFO(
"*** Move '/tmp/data.txt' into '/tmp/simgrid.readme'");
XBT_INFO(
"User data attached to the file: %s", data);
free(file_name);
XBT_INFO(
"*** Get/set data for storage element: %s ***",storage_name);
XBT_INFO(
"Get storage data: '%s'", data);
XBT_INFO(
"Set and get data: '%s'", data);
char* mountname;
char* path;
XBT_INFO(
"Print the content of mount point: %s",mountname);
XBT_INFO(
"%s size: %llu bytes", path, *psize);
}
}
return 1;
}
int main(
int argc,
char *argv[])
{
}