{"id":28759676,"url":"https://github.com/cemkeylan/genfstab","last_synced_at":"2025-07-24T06:42:41.094Z","repository":{"id":215865142,"uuid":"272456359","full_name":"cemkeylan/genfstab","owner":"cemkeylan","description":"(almost) pure POSIX shell implementation of genfstab","archived":false,"fork":false,"pushed_at":"2021-08-13T06:29:12.000Z","size":12,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-08T04:21:14.329Z","etag":null,"topics":["fstab","generator","posix","shell"],"latest_commit_sha":null,"homepage":"https://git.ckyln.com/genfstab","language":"Shell","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/cemkeylan.png","metadata":{"files":{"readme":"README","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}},"created_at":"2020-06-15T14:11:03.000Z","updated_at":"2023-04-04T14:12:54.000Z","dependencies_parsed_at":"2024-01-07T04:05:34.475Z","dependency_job_id":"971a326b-33b4-4ba1-b9b5-cf8af94ae54f","html_url":"https://github.com/cemkeylan/genfstab","commit_stats":null,"previous_names":["cemkeylan/genfstab"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/cemkeylan/genfstab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkeylan%2Fgenfstab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkeylan%2Fgenfstab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkeylan%2Fgenfstab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkeylan%2Fgenfstab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemkeylan","download_url":"https://codeload.github.com/cemkeylan/genfstab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkeylan%2Fgenfstab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294461,"owners_count":22987624,"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":["fstab","generator","posix","shell"],"created_at":"2025-06-17T05:07:58.862Z","updated_at":"2025-06-17T05:07:59.461Z","avatar_url":"https://github.com/cemkeylan.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"GENFSTAB\n--------------------------------------------------------------------------------\n\nSimplified POSIX sh implementation of the Arch Linux tool[1] with the same name.\nThis implementation is almost pure shell, and it only depends on a few POSIX\nutilities. Keep note that this script makes use of files created by the kernel,\nand I have not tested this script outside of Linux. So, while the script itself\nis POSIX, it may not work outside of Linux.\n\nPseudo-filesystem identification is better on this implementation for complex\nenvironments. Other than this, syntax and output is identical. If you are\nusing a simple PC, you will probably not notice any difference.\n\n\nInstallation\n--------------------------------------------------------------------------------\n\nTo install you can simply run 'make install' or without make,\n\n  +--------------------------------------------------------------------------+\n  | $ mkdir -p /usr/local/bin /usr/local/share/man/man8                      |\n  | $ cp genfstab   /usr/local/bin/genfstab                                  |\n  | $ cp genfstab.8 /usr/local/share/man/man8/genfstab.8                     |\n  |                                                                          |\n  | $ chmod 755 /usr/local/bin/genfstab                                      |\n  | $ chmod 644 /usr/local/share/man/man8/genfstab.8                         |\n  +--------------------------------------------------------------------------+\n\n\nUsage\n--------------------------------------------------------------------------------\n\nThe syntax and usage of genfstab is the same as the Arch Linux tool.\n\n  +--------------------------------------------------------------------------+\n  | # Simply add all mounted devices to fstab                                |\n  | $ genfstab \u003e\u003e /etc/fstab                                                 |\n  |                                                                          |\n  | # Only list mounted devices on /home                                     |\n  | $ genfstab -f /home \u003e\u003e /etc/fstab                                        |\n  |                                                                          |\n  | # Use /mnt as root                                                       |\n  | $ genfstab /mnt \u003e\u003e /etc/fstab                                            |\n  |                                                                          |\n  | # Use PARTUUID identifiers                                               |\n  | $ genfstab -t PARTUUID \u003e\u003e /etc/fstab                                     |\n  +--------------------------------------------------------------------------+\n\nSee 'genfstab --help' or the genfstab manual page for more detailed information.\n\n\nReferences\n--------------------------------------------------------------------------------\n[1]: https://github.com/archlinux/arch-install-scripts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemkeylan%2Fgenfstab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemkeylan%2Fgenfstab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemkeylan%2Fgenfstab/lists"}