From 5bf0e931c6983d890929c0249d737d1b13599c9c Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 24 Apr 2022 14:52:35 +0200 Subject: [PATCH] (Grav GitSync) Automatic Commit from RealStickman --- pages/02.linux/01.fstab/default.en.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pages/02.linux/01.fstab/default.en.md diff --git a/pages/02.linux/01.fstab/default.en.md b/pages/02.linux/01.fstab/default.en.md new file mode 100644 index 0000000..ee171eb --- /dev/null +++ b/pages/02.linux/01.fstab/default.en.md @@ -0,0 +1,18 @@ +--- +title: Fstab +--- + +## Other drives +Find uuid with `sudo blkid` +`UUID=(uuid) (mountpath) (filesystem) defaults,noatime 0 2` + +## Samba shares +`//(ip)/(path)/ (mountpath) cifs uid=0,credentials=(path to credentials file),iocharset=utf8,noperm,nofail 0 0` + +Example credentials file: +``` +user=(user) +password=(password) +domain=WORKGROUP +``` +Make sure to set permissions to the credential files to something like 700. \ No newline at end of file