tree: b5f28ed3a64a30bb8e91b7765a8ef925652778cd [path history] [tgz]
  1. calculator/
  2. dbus_bindings/
  3. init/
  4. seccomp/
  5. BUILD.gn
  6. cli.cc
  7. daemon.cc
  8. daemon.h
  9. disk_usage.h
  10. disk_usage_impl.cc
  11. disk_usage_impl.h
  12. disk_usage_proxy.cc
  13. disk_usage_proxy.h
  14. disk_usage_test.cc
  15. main.cc
  16. OWNERS
  17. 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.