{"id":20122853,"url":"https://github.com/freaky/trim","last_synced_at":"2026-06-09T15:03:11.500Z","repository":{"id":142942569,"uuid":"39109961","full_name":"Freaky/trim","owner":"Freaky","description":"A tool to TRIM devices in FreeBSD","archived":false,"fork":false,"pushed_at":"2015-07-15T01:44:59.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T20:30:41.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Freaky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-15T01:40:50.000Z","updated_at":"2015-07-15T01:41:17.000Z","dependencies_parsed_at":"2023-03-16T15:01:03.638Z","dependency_job_id":null,"html_url":"https://github.com/Freaky/trim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Freaky/trim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freaky%2Ftrim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freaky%2Ftrim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freaky%2Ftrim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freaky%2Ftrim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freaky","download_url":"https://codeload.github.com/Freaky/trim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freaky%2Ftrim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-13T19:41:29.341Z","updated_at":"2026-06-09T15:03:11.466Z","avatar_url":"https://github.com/Freaky.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trim\n\nTRIM a device in FreeBSD.\n\n## Usage\n\n    trim [device]\n\n## Example\n\n    -# hexdump -C /dev/ada3\n    00000000  ce 5e 98 86 b6 67 28 48  e2 66 86 ec e1 e5 6f 0a  |.^...g(H.f....o.|\n    ...\n    -# trim ada3\n    trim 256060514304 bytes from ada3? (yes/no) yes\n    -# hexdump -C /dev/ada3\n    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|\n    *\n\n## Notes\n\nUse of this software may result in data loss. Hopefully.\n\nIt is *not* a tool for TRIMing free space in a filesystem like Linux's `fstrim`.\n\nIt is *not* a secure erase tool.  For that use `camcontrol(1)`:\n\n    camcontrol security [device] -s erase -e erase\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaky%2Ftrim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreaky%2Ftrim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaky%2Ftrim/lists"}