tree: c91b16a40d691eae9a85fa6bb36175e601f0f90d [path history] [tgz]
  1. calculator/
  2. dbus_bindings/
  3. init/
  4. minijail/
  5. seccomp/
  6. BUILD.gn
  7. cli.cc
  8. daemon.cc
  9. daemon.h
  10. DIR_METADATA
  11. disk_usage.h
  12. disk_usage_impl.cc
  13. disk_usage_impl.h
  14. disk_usage_proxy.cc
  15. disk_usage_proxy.h
  16. disk_usage_test.cc
  17. main.cc
  18. OWNERS
  19. README.md
spaced/README.md

Spaced: daemon for querying disk usage data

spaced surfaces disk usage information via a D-Bus interface. Currently, spaced supports the following interfaces:

  • Method GetTotalDiskSpace: Gets the total disk space available for usage on the device for a given path (including currently used space).
  • Method GetFreeDiskSpace: Gets the available free space for use on the device for a given path.

Those D-Bus methods must be preferred over local library calls / syscalls such as base::SysInfo::AmountOfFreeDiskSpace because spaced's takes the underlying thinpool into account, for example.