How do I permanently mount CIFS in Linux?

Trung Minh

New member
How do I permanently mount CIFS in Linux?
Answer
Auto-mount Samba / CIFS shares via fstab on Linux
  1. Install dependencies. Install the necessary “cifs-utils” with the package manager of your choice e.g. DNF on Fedora. …
  2. Create mountpoints. …
  3. Create a credentials file (optional) …
  4. Edit /etc/fstab. …
  5. Manually mount the share for testing.
 

Tìm kiếm

Back
Top