Skip to content

Instantly share code, notes, and snippets.

View noawe-boi's full-sized avatar
🤪
I live in taco bell now

Noah noawe-boi

🤪
I live in taco bell now
  • 08:10 (UTC +10:00)
View GitHub Profile
@ErykDarnowski
ErykDarnowski / README.md
Last active November 24, 2025 03:35
How to automatically mount a network Samba share on Arch Linux!

How to automatically mount a network Samba share on Arch Linux!

  1. Install the [cifs-utils][1] package: sudo pacman –S cifs-utils.
  2. Make a mount folder for the SMB share: sudo mkdir /mnt/<Path>.
  3. Create a backup of the [fstab][2] file (just in case): sudo cp /etc/fstab /etc/fstab_backup.
  4. Open the [fstab][2] file in your favorite editor: sudo vim /etc/fstab.
  5. Add the mount line: //<Server_address>/<Server_share_and_internal_path> /mnt/<Path> cifs username=<Server_user>,pass=<Server_password> 0 0.
  1. Save the file.
  2. Reload [fstab][2]: sudo mount -av.