{"id":15394296,"url":"https://github.com/xyproto/fstabfmt","last_synced_at":"2025-04-09T18:22:00.456Z","repository":{"id":53750171,"uuid":"346391111","full_name":"xyproto/fstabfmt","owner":"xyproto","description":":dagger: Format /etc/fstab files automatically","archived":false,"fork":false,"pushed_at":"2024-11-05T14:20:37.000Z","size":666,"stargazers_count":72,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T13:54:14.620Z","etag":null,"topics":["bsd","filesystem","format","formatter","fstab","linux","system-tools","unix","utility"],"latest_commit_sha":null,"homepage":"https://fstabfmt.roboticoverlords.org","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyproto.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":"2021-03-10T14:54:22.000Z","updated_at":"2025-03-21T00:27:06.000Z","dependencies_parsed_at":"2024-01-18T12:35:52.968Z","dependency_job_id":"9c12df2b-6b2a-477e-a49e-0198a28d1801","html_url":"https://github.com/xyproto/fstabfmt","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":0.3695652173913043,"last_synced_commit":"cc9484212c93a2057b0c86b2810d6fbfcd86bc60"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffstabfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffstabfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffstabfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffstabfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/fstabfmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085646,"owners_count":21045192,"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":["bsd","filesystem","format","formatter","fstab","linux","system-tools","unix","utility"],"created_at":"2024-10-01T15:23:04.098Z","updated_at":"2025-04-09T18:22:00.429Z","avatar_url":"https://github.com/xyproto.png","language":"Go","readme":"\u003cimg alt=\"fstabfmt logo\" src=\"img/fstabfmt.png\" width=\"35%\"\u003e\n\n![Build](https://github.com/xyproto/fstabfmt/workflows/Build/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/xyproto/fstabfmt)](https://goreportcard.com/report/github.com/xyproto/fstabfmt) [![License](https://img.shields.io/badge/license-BSD-green.svg?style=flat)](https://raw.githubusercontent.com/xyproto/fstabfmt/main/LICENSE)\n\nTake a stab at formatting `/etc/fstab` files with `fstabfmt`.\n\n## Features and limitations\n\n* Can format `/etc/fstab` files.\n* Will use 2 spaces between all fields, if they are of equal length.\n* The shorter fields are padded with spaces.\n* Other padding lengths than 2 can be supplied with the `-s` flag.\n\n## Example use\n\n* Run `fstabfmt /etc/fstab` to see the formatted output. No changes are made to the file.\n* Run `fstabfmt -s 8 /etc/fstab` to see the formatted output with 8 spaces between fields. No changes are made to the file.\n* Run `fstabfmt -i /etc/fstab` to make changes to `/etc/fstab`.\n\n## Example output\n\nBefore:\n\n```sh\n# Static information about the filesystems.\n# See fstab(5) for details.\n#\n# \u003cfile system\u003e \u003cdir\u003e \u003ctype\u003e \u003coptions\u003e \u003cdump\u003e \u003cpass\u003e\n# /dev/nvme0n1p2 LABEL=root\nUUID=2bb3c21b-dc8f-401e-991b-66afd7301cb7\t/         \txfs       \trw,relatime,inode64,logbufs=8,logbsize=32k,noquota\t0 1\n\n# /dev/nvme0n1p1 LABEL=boot\nUUID=1815-DD5D      \t/boot     \tvfat      \trw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro\t0 2\n```\n\nAfter:\n\n```sh\n# Static information about the filesystems.\n# See fstab(5) for details.\n#\n# \u003cfile system\u003e \u003cdir\u003e \u003ctype\u003e \u003coptions\u003e \u003cdump\u003e \u003cpass\u003e\n\n# /dev/nvme0n1p2 LABEL=root\nUUID=2bb3c21b-dc8f-401e-991b-66afd7301cb7  /      xfs   rw,relatime,inode64,logbufs=8,logbsize=32k,noquota                                                         0  1\n\n# /dev/nvme0n1p1 LABEL=boot\nUUID=1815-DD5D                             /boot  vfat  rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro  0  2\n```\n\n## General info\n\n* Version: 1.2.0\n* License: BSD-3\n* Author: Alexander F. Rødseth \u0026lt;xyproto@archlinux.org\u0026gt;\n\n\u003c!--\n[![Packaging status](https://repology.org/badge/vertical-allrepos/fstabfmt.svg)](https://repology.org/project/fstabfmt/versions)\n--\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Ffstabfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Ffstabfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Ffstabfmt/lists"}