1 /* Part of libhgfs - (c) 2009, D.C. van Moolenbroek */
5 /*===========================================================================*
7 *===========================================================================*/
8 int hgfs_queryvol(path
, free
, total
)
13 /* Retrieve information about available and total volume space associated with
19 RPC_REQUEST(HGFS_REQ_QUERYVOL
);
23 /* It appears that this call always fails with EACCES ("permission denied")
24 * on read-only folders. As far as I can tell, this is a VMware bug.
26 if ((r
= rpc_query()) != OK
)
31 *free
= make64(lo
, hi
);
35 *total
= make64(lo
, hi
);