2022-04-24 14:52:35 +02:00
|
|
|
---
|
|
|
|
title: Fstab
|
2022-11-19 15:25:20 +01:00
|
|
|
visible: true
|
2022-04-24 14:52:35 +02:00
|
|
|
---
|
|
|
|
|
2022-06-06 18:33:27 +02:00
|
|
|
[toc]
|
2022-04-24 14:52:35 +02:00
|
|
|
## 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
|
|
|
|
```
|
2022-11-19 15:25:20 +01:00
|
|
|
Make sure to set permissions to the credential files to something like 700.
|