{"id":27520728,"url":"https://github.com/merge/fatattr-label","last_synced_at":"2026-05-03T05:44:38.266Z","repository":{"id":91623072,"uuid":"119378605","full_name":"merge/fatattr-label","owner":"merge","description":"Change a mounted FAT filesystem's label while being used","archived":false,"fork":false,"pushed_at":"2018-09-14T06:30:00.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T18:46:44.962Z","etag":null,"topics":["fat12","fat16","fat32","filesystem-api","filesystem-utils","ioctl","linux","linux-filesystem","linux-kernel"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/merge.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,"zenodo":null}},"created_at":"2018-01-29T12:18:27.000Z","updated_at":"2025-02-08T00:00:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"03172b17-fc36-4d14-8aa4-66f640dbdad6","html_url":"https://github.com/merge/fatattr-label","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/merge/fatattr-label","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge%2Ffatattr-label","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge%2Ffatattr-label/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge%2Ffatattr-label/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge%2Ffatattr-label/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merge","download_url":"https://codeload.github.com/merge/fatattr-label/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merge%2Ffatattr-label/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32559716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fat12","fat16","fat32","filesystem-api","filesystem-utils","ioctl","linux","linux-filesystem","linux-kernel"],"created_at":"2025-04-18T06:48:47.908Z","updated_at":"2026-05-03T05:44:38.261Z","avatar_url":"https://github.com/merge.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fatattr_label\nLinux example tool to change a __mounted__ FAT filesystem partition's\nlabel while it is being used. Want a USB Stick's name to be writable?\nThen this might be for you.\n\n### What's different from `fatlabel`?\n[dosfstools](https://github.com/dosfstools/dosfstools)' `fatlabel` program writes\nthis label too, so what's the difference? Well, it only write the label when the\npartition is __unmounted__ or while created. `fatattr_label` simply makes the label\nwriteable while the partition is being used.\n\n### How to build\n\n\t\t./autogen.sh\n\t\tmake\n\n\n### How to use\nRun `./fatattr_label` without parameters to see how to use it. This should\nlook like so\n\n\n\t\tChange label:\n\t\t   fatattr_label [mountpoint] [label]\n\t\tShow label:\n\t\t   fatattr_label [mountpoint]\n\n\t\tAn example for listing available filesystems and their\n\t\tmountpoints would be:\n\n\t\t   df --output=source,fstype,target | grep -E 'msdos|fat'\n\n\n`vfat`, `msdos` and `fat` types are supported. You can of course `make install`\nit.\n\n### Linux support\nThis tool is using the following ioctl interface that is *not* part of mainline\nLinux as of now:\n\n        #define VFAT_IOCTL_SET_LABEL _IOW('r', 0x14, __u32)\n\n\nFAT12, FAT16 and FAT32 are supported, on 32bit and 64bit systems. You need to\napply the provided patch and build your kernel. The patch is included in this\nsource repository and applies to the latest Linux release.\n\nI promised not to publish this quite yet. If you are overly interested in\nhaving support for this now, feel free to [contact me](mailto:martink@posteo.de).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerge%2Ffatattr-label","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerge%2Ffatattr-label","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerge%2Ffatattr-label/lists"}