Last active
March 13, 2018 08:51
-
-
Save jesperes/1c9f516dbf67dd64950c5c672e90ec85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Commands to create a case-insensitive NTFS-filesystem on linux | |
# Disclaimer: run these commands at you own risk! | |
# Create the image file. Adjust size to your liking. | |
dd if=/dev/zero of=fs.img bs=1G count=40 | |
# Create the NTFS file system. -F flag is necessary to make mkfs.ntfs accept | |
# that fs.img is not a block device. | |
mkfs.ntfs -F fs.img | |
# Create the mount point | |
mkdir -p /media/fs-nocase | |
# Mount the filesystem. Note that "lowntfs-3g" is necessary in order to be able | |
# use the "ignore_case" option. See "man mount.ntfs" for details. | |
mount -t lowntfs-3g fs.img /media/fs-nocase -o ignore_case | |
# Put this in /etc/fstab to have it mounted on startup | |
# /path/to/fs.img /media/fs-nocase lowntfs-3g ignore_case 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment