{"id":22042547,"url":"https://github.com/gentooxativa/json-disk","last_synced_at":"2026-05-10T06:33:35.720Z","repository":{"id":152088715,"uuid":"102246731","full_name":"GentooXativa/json-disk","owner":"GentooXativa","description":"A simple C application to get the information about mountpoints and free space with JSON output.","archived":false,"fork":false,"pushed_at":"2017-09-03T07:54:40.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T19:47:56.502Z","etag":null,"topics":["c","json","linux","linux-app","linux-shell"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GentooXativa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-03T06:54:33.000Z","updated_at":"2017-09-03T07:14:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e0275db-3932-41df-8bf1-ca29f6436337","html_url":"https://github.com/GentooXativa/json-disk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GentooXativa%2Fjson-disk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GentooXativa%2Fjson-disk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GentooXativa%2Fjson-disk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GentooXativa%2Fjson-disk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GentooXativa","download_url":"https://codeload.github.com/GentooXativa/json-disk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245111911,"owners_count":20562511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","json","linux","linux-app","linux-shell"],"created_at":"2024-11-30T12:12:54.875Z","updated_at":"2026-05-10T06:33:35.688Z","avatar_url":"https://github.com/GentooXativa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-disk\nA simple C application to get the information about mountpoints and free space with JSON output.\n\n# Usage\n```bash\nUsage: json_disk [-h] [-m]\n        -h      Show this help\n        -m      Use /etc/mtab instead of /etc/fstab\n```\n\n# Example output\n```json\n[\n  {\n    \"mountpoint\": \"/\",\n    \"free\": 1092571136,\n    \"total\": 20506800128,\n    \"type\": \"ext4\",\n    \"fsname\": \"/dev/md2\",\n    \"fsopts\": \"errors=remount-ro,relatime\"\n  },\n  {\n    \"mountpoint\": \"/srv\",\n    \"free\": 304944160768,\n    \"total\": 3916700098560,\n    \"type\": \"ext4\",\n    \"fsname\": \"/dev/md3\",\n    \"fsopts\": \"defaults,relatime\"\n  },\n  {\n    \"mountpoint\": \"swap\",\n    \"free\": 304944160768,\n    \"total\": 3916700098560,\n    \"type\": \"swap\",\n    \"fsname\": \"/dev/sda4\",\n    \"fsopts\": \"defaults\"\n  },\n  {\n    \"mountpoint\": \"swap\",\n    \"free\": 304944160768,\n    \"total\": 3916700098560,\n    \"type\": \"swap\",\n    \"fsname\": \"/dev/sdb4\",\n    \"fsopts\": \"defaults\"\n  },\n  {\n    \"mountpoint\": \"swap\",\n    \"free\": 304944160768,\n    \"total\": 3916700098560,\n    \"type\": \"swap\",\n    \"fsname\": \"/dev/sdc4\",\n    \"fsopts\": \"defaults\"\n  },\n  {\n    \"mountpoint\": \"/dev/shm\",\n    \"free\": 8401739776,\n    \"total\": 8401739776,\n    \"type\": \"tmpfs\",\n    \"fsname\": \"tmpfs\",\n    \"fsopts\": \"defaults\"\n  }\n]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentooxativa%2Fjson-disk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentooxativa%2Fjson-disk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentooxativa%2Fjson-disk/lists"}