{"id":21840522,"url":"https://github.com/rubiojr/go-udisks","last_synced_at":"2026-05-18T02:02:43.325Z","repository":{"id":57693306,"uuid":"484775098","full_name":"rubiojr/go-udisks","owner":"rubiojr","description":"Linux UDisks2 (dbus) easy access from Go","archived":false,"fork":false,"pushed_at":"2022-05-10T11:44:01.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T11:44:21.165Z","etag":null,"topics":["dbus","udisks2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubiojr.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}},"created_at":"2022-04-23T14:49:25.000Z","updated_at":"2024-12-14T07:42:08.000Z","dependencies_parsed_at":"2022-09-26T21:01:11.817Z","dependency_job_id":null,"html_url":"https://github.com/rubiojr/go-udisks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rubiojr/go-udisks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiojr%2Fgo-udisks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiojr%2Fgo-udisks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiojr%2Fgo-udisks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiojr%2Fgo-udisks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubiojr","download_url":"https://codeload.github.com/rubiojr/go-udisks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubiojr%2Fgo-udisks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dbus","udisks2"],"created_at":"2024-11-27T21:26:35.590Z","updated_at":"2026-05-18T02:02:43.307Z","avatar_url":"https://github.com/rubiojr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# udisks\n\nudisks gives you high level access to Linux system drives and block devices wrapping the [udisk2](http://storaged.org/doc/udisks2-api/) interfaces.\n\nAn example command line `udisks` client to list drives and block device properties can be installed with:\n\n```\ngo install github.com/rubiojr/go-udisks/cmd/udisks@latest\n```\n\n```Go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"os\"\n\n\t\"github.com/rubiojr/go-udisks\"\n)\n\nfunc main() {\n\tclient, err := udisks.NewClient()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// List all block devices available to UDisks2\n\tdevs, err := client.BlockDevices()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tpretty(devs)\n}\n\nfunc pretty(dev interface{}) {\n\tprettyString, _ := json.MarshalIndent(dev, \"\", \"  \")\n\tfmt.Println(string(prettyString))\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubiojr%2Fgo-udisks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubiojr%2Fgo-udisks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubiojr%2Fgo-udisks/lists"}