Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

General Questions • Automount external HDD when pluggedin

$
0
0

Hi,

I have an external HDD (WD black 12tb) plugged via usb3 and configured in fstab.
This works perfectly, however, if I plug the HDD after the PC is on, the HDD is not mounted automatically; it requires running the command 'mount -a'.

Code:

UUID=C43C05633C05523A /mnt/wd_black ntfs-3g defaults,auto,users,rw,nofail,noatime 0 0

What can I do in order to automount the HDD when plugged in, whilst adhering to these requirements?

  • mount as ntfs to /mnt/wd_black
  • mount as root user and group
  • automount the HDD plugged in via usb3
  • HDD has shares on SAMBA that are reachable via network

Thanks

Statistics: Posted by luckyluca — 2026-01-22 10:22



Viewing all articles
Browse latest Browse all 4056

Trending Articles