Last active
January 3, 2025 14:24
-
-
Save suzker/5783a0027c6a9540a688 to your computer and use it in GitHub Desktop.
[ARCH] auto mounting NTFS drives
This file contains hidden or 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
>> set up mount point | |
sudo mkdir /mnt/2tb | |
>> list drives | |
sudo fdisk -l | |
>> install ntfs-3g | |
sudo pacman -Syu ntfs-3g | |
>> mount | |
sudo mount -t ntfs-3g /dev/sda1 /mnt/2tb | |
>> list all disks by uuid name | |
ls -l /dev/disk/by-uuid | |
>> fstab auto mount | |
sudo vim /etc/fstab | |
UUID="9460234760233002" /mnt/2tb ntfs-3g defaults,nofail,rw,big_write 0 2 | |
UUID="C8DAE4A8DAE4944A" /mnt/320gb ntfs-3g defaults,nofail,rw,big_write 0 2 | |
!! NOTE: make sure it's ntfs-3g otherwise the system's ntfs implementation will eat up all ur cpus !! | |
!! NOTE: make sure use big_write as a work-around for slow writing + high cpu issue !! | |
!! NOTE: NTFS sucks, consider using ext4 since samba doesn't really care what FS it's using !! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment