Skip to content

Instantly share code, notes, and snippets.

@suzker
Last active September 11, 2023 20:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suzker/5783a0027c6a9540a688 to your computer and use it in GitHub Desktop.
Save suzker/5783a0027c6a9540a688 to your computer and use it in GitHub Desktop.
[ARCH] auto mounting NTFS drives
>> 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