Say you want to use a USB storage device with your Linux home server. All you have to do is to run the mount /dev/sdbX /mount/point/
command as root to mount the device (sdbX, in this case) in the specified mount point. Easy, but hardly practical — because you have to do it every time you reboot the server. One way to solve the problem is to create a systemd service that automatically mounts the device on boot.
Automatically Mount a Storage Device with a systemd Service
By
Dmitri Popov
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis