diff options
author | breadcat | 2020-07-05 17:36:20 +0100 |
---|---|---|
committer | breadcat | 2020-07-05 17:36:20 +0100 |
commit | bc61ec416abc5f083234f46496105ecb9828c9f2 (patch) | |
tree | 04aa92bb922c1e91324777902b0afd5649bb89f4 | |
parent | 47e33650639816eca473eb96155d8cc93fff9d31 (diff) | |
download | blog.minskio.co.uk-bc61ec416abc5f083234f46496105ecb9828c9f2.tar.gz blog.minskio.co.uk-bc61ec416abc5f083234f46496105ecb9828c9f2.tar.bz2 blog.minskio.co.uk-bc61ec416abc5f083234f46496105ecb9828c9f2.zip |
Add a post
-rw-r--r-- | content/posts/case-sensitively-labelling-a-fat32-drive.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/posts/case-sensitively-labelling-a-fat32-drive.md b/content/posts/case-sensitively-labelling-a-fat32-drive.md new file mode 100644 index 0000000..363aa33 --- /dev/null +++ b/content/posts/case-sensitively-labelling-a-fat32-drive.md @@ -0,0 +1,29 @@ +--- +title: "Case-sensitively labelling a FAT32 drive" +date: 2020-07-05T17:11:00 +tags: ["Linux", "Snippets", "Software", "Windows"] +--- + +## Under Linux + +As you'd expect, it's pretty simple. You just need `fatlabel` from the `dosfstools` package: + +``` +sudo apt-get install dosfstools +lsblk --fs +fatlabel /dev/yourdrive YourLabel +``` + +## Under Windows + +Windows generally won't let you do this, always defaulting to upper-case, but there is a workaround. Create a new text file on the root of the drive called `autorun.inf` with the following contents. + +``` +[autorun] +label=YourLabel + +[Content] +MusicFiles=false +PictureFiles=false +VideoFiles=false +``` |